IntelĀ® Trace Collector 9.1 Update 2 User and Reference Guide
Defines a source code location on request and then remembers the handle.
Can be used to avoid the overhead of defining the location several times in VT_Function. Best used together with the define VT_SCL_DEF_CXX().
VT_SclDef( const char *file, int line )
Stores the SCL handle, 0 if not defined yet.
Stores the file name.
Stores the line number.
Checks whether the SCL is already defined or not.
Returns handle as soon as it is available, else 0. Defining the function may be impossible for example, because IntelĀ® Trace Collector was not initialized or ran out of memory.
This preprocessor macro creates a static source code location definition for the current file and line in C++.