• 2019 Update 3
  • 03/07/2019
  • Public Content
  • Download as PDF
Contents

Description
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()
.
Constructor & Destructor Documentation
VT_SclDef( const char *file, int line )
Member Function Documentation
int m_handle
Stores the SCL handle, 0 if not defined yet.
const char *m_file
Stores the file name.
int m_line
Stores the line number.
int GetHandle()
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.
#define VT_SCL_DEF_CXX(_sclvar) static VT_SclDef _sclvar( __FILE__, __LINE__ )
This preprocessor macro creates a static source code location definition for the current file and line in C++.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804