[no parameter]
|
Invoke the Format Profiling (Timing) dialog box.
|
||||||||||||||
mode
|
To set up a manual profiling operation, macros and parameters should be entered consecutively to carry out the steps in the correct order:
1. Reset all profiling data with tprof 11
2. Enable profiling, either manually or automatically, eg. enable manual profiling with tprof -1
3. Format using trf or tformat or by typing text into PTC ALD WYSIWYG area.
4. Stop the profiling with tprof 0
5. Produce a report with tprof 10
6. Examine the log using the stream editor with ttagedit "tproflog"
Automatic profiling options greatly simplify the above procedure. During automatic profiling the starting, stopping and reporting is automatically carried out at appropriate times, leaving you to simply inspect the log (via ttagedit "tproflog" ) before the next occurence of the macro overwrites it. Remember to switch off profiling (via tprof 0) when you no longer need it as there is a small but significant overhead for it.
|
||||||||||||||
tagname
|
The name of the text tag to which to write the report log: the default value istproflog).
|
|
Due to the minimally intrusive method of profiling, the results in the log should be considered as an accurate estimate rather than exact. If APP formats a tag entirely between ticks then the tag has recorded a proportionate amount of time spent when compared to other tags. The important thing is that the tags that have taken most time will be at the top of the list.
|