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

  • 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 330
profile
Using Profiling
The following items affect your ability to prole project execution and
stack usage:
Execution proling works on code you generate from a Simulink
model. You cannot prole manually written code that you provide in
your project.
Stack proling works with both model-generated co de and your
custom code.
Stack proling does not work when your project uses DSP/BIOS. You
getanerrorwhenyouprole the system stack with D SP/B IOS enabled.
To use DSP/BIOS, you must install Ta rget Support Packa ge TC6
software.
For m ore information about enablingandusingexecutionproling,
refer to “Real-Time Execution Proling ” on pag e 4-11.
Examples This example presents two forms of the data returned by profiletic
and raw. The generated code did not includeDSP/BIOS.
Running
profile returns structure ps containing proling data
gathered while your p rogram ran. Stop the running program before
you request the prole data.
ps=profile(cc,'execution','tic')
ps =
cpuload: 0
obj: [3x1 struct]
ps.obj(1)
ans =
name: 'KNL_swi'
7-109
Vue de la page 330
1 2 ... 326 327 328 329 330 331 332 333 334 335 336 ... 574 575

Commentaires sur ces manuels

Pas de commentaire