MATLAB EMBEDDED IDE LINK 4 - FOR USE WITH TEXAS INSTRUMENTS CODE COMPOSER STUDIO Guide de l'utilisateur Page 194

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 575
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 193
4 Verification
5 Use the profile method to capture a nd view the results of proling the
stack.
profile(cc,'stack','report')
The following example demonstrates setting up and proling the stack. The
ticcs object cc must exist in your MATLAB workspace and your application
must be loaded on your processor. This example comes from a C6713
simulator.
profile(cc,'stack','setup') % Set up processor stack--write A5 to the stack addresses.
Maximum stack usage:
System Stack: 0/1024 (0%) MAUs used.
name: System Stack
startAddress: [512 0]
endAddress: [1535 0]
stackSize: 1024 MAUs
growthDirection: ascending
run(cc)
halt(cc)
profile(cc,'stack','report') % Request stack use report.
Maximum stack usage:
System Stack: 356/1024 (34.77%) MAUs used.
name: System Stack
startAddress: [512 0]
endAddress: [1535 0]
stackSize: 1024 MAUs
growthDirection: ascending
4-22
Vue de la page 193
1 2 ... 189 190 191 192 193 194 195 196 197 198 199 ... 574 575

Commentaires sur ces manuels

Pas de commentaire