MATLAB EMBEDDED IDE LINK 4 - FOR USE WITH TEXAS INSTRUMENTS CODE COMPOSER STUDIO Podręcznik Użytkownika Strona 194

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 575
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 193
1 2 ... 189 190 191 192 193 194 195 196 197 198 199 ... 574 575

Komentarze do niniejszej Instrukcji

Brak uwag