Download Intel(R) Trace Collector Reference Guide

Transcript
User-level Instrumentation
8.10.4.14. void VT_Region::begin(VT_FuncDef & funcdef, VT_SclDef & scldef)
This is a more efficient version which supports defining the region and source code location only
once.
Parameters:
funcdef this is a reference to the (usually static) instance that defines and remembers the
region handle
scldef this is a reference to the (usually static) instance that defines and remembers the scl
handle
8.10.4.15. void VT_Region::end()
Leaves the region.
8.10.4.16. void VT_Region::end(const char * file, int line)
Same as previous end(), but also stores information about where the region ends in the source
code.
Parameters:
file name of source file, may but does not have to include path
line line in this file where region starts
8.10.4.17. void VT_Region::end (VT_SclDef & scldef)
This is a more efficient version which supports defining the source code location only once.
Parameters:
scldef this is a reference to the (usually static) instance that defines and remembers the scl
handle.
133