MATLAB EMBEDDED IDE LINK 4 - FOR USE WITH TEXAS INSTRUMENTS CODE COMPOSER STUDIO Guia do Utilizador Página 194

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 575
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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
Vista de página 193
1 2 ... 189 190 191 192 193 194 195 196 197 198 199 ... 574 575

Comentários a estes Manuais

Sem comentários