Download Intel(R) Trace Collector Reference Guide

Transcript
Intel(R) Trace Collector Reference Guide
}
8.10.1. VT_FuncDef Class Reference
Defines a function on request and then remembers the handle.
8.10.1.1. Public Methods
•
VT_FuncDef (const char *symname, const char *classname)
•
int GetHandle()
8.10.1.2. Detailed Description
Defines a function on request and then remembers the handle.
Can be used to avoid the overhead of defining the function several times in VT_Function.
8.10.1.3. Constructor & Destructor Documentation
8.10.1.4. VT_FuncDef::VT_FuncDef (const char _ symname, const char _ classname)
8.10.1.5. Member Function Documentation
8.10.1.6. int VT_FuncDef::GetHandle ()
Checks whether the function is defined already or not.
Returns handle as soon as it is available, otherwise 0. Defining the function may be impossible
for example, because Intel® Trace Collector was not initialized or ran out of memory.
8.10.2. VT_SclDef Class Reference
Defines a source code location on request and then remembers the handle.
Public Methods
•
VT_SclDef (const char _file, int line)
•
int GetHandle ()
8.10.2.1. Detailed 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().
128