MATLAB POLYSPACE 7 Instalační příručka Strana 499

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 618
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 498
Profiling fo r Improving Performance
IsRecursive: 0
PartialData: 0
7 To view the history data generated by profile,viewtheFunctionHistory,
for example,
stats.FunctionHistory. The history data is a 2-by-n array.
The first row contains Boolean values, where
0 (zero) m eans entrance into
a function and
1 means exit from a function. The second row identifies the
function being entered or exited by its index in the
FunctionTable field. To
see how to create a formatted display of history data, see the example on
the
profile reference page.
Saving Profile Reports
To save the profile report, use the profsave function.
This function stores the profile inform ationinseparateHTMLfiles,foreach
function listed in the
FunctionTable field of the structure, stats.
profsave(stats)
By default, profsave puts these HTM L files in a s ubdirectory of the current
directory named
profile_results. You can specify another directory name
as an optional second argument to
profsave.
profsave(stats,'mydir')
7-47
Zobrazit stránku 498
1 2 ... 494 495 496 497 498 499 500 501 502 503 504 ... 617 618

Komentáře k této Příručce

Žádné komentáře