IntelĀ® Trace Collector 9.1 Update 2 User and Reference Guide
This is similar to VT_Function, but should be used to mark regions within a function.
The difference is that source code locations can be provided for the beginning and end of the region, and one instance of this class can be used to mark several regions in one function.
Default constructor. Does not start a region.
Enters the region upon creation.
The same as the previous constructor, but also stores information about where the region is located in the source code.
This is a more efficient version which supports defining the region only once.
This is a more efficient version which supports defining the region and source code location only once.
The destructor marks the region exit.
Defines the region with VT_classdef() and VT_funcdef(), then enters it.
This is less efficient than defining the region once and then reusing the handle. Silently ignores errors, like for example, uninitialized IntelĀ® Trace Collector.
Parameters:
symname | the name of the region |
classname | the class this region belongs to |
The same as the previous begin(), but also stores information about where the region is located in the source code.
Parameters:
symname | the name of the region |
classname | the class this region belongs to |
file | name of source file, may but does not have to include path |
line | line in this file where region starts |
This is a more efficient version which supports defining the region only once.
Parameters:
funcdef | this is a reference to the (usually static) instance that defines and remembers the region handle |
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 |
Leaves the region.
The same as the 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 |
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. |