User and Reference Guide

Contents

VT_FuncDef Class Reference

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
.
Constructor & Destructor Documentation
VT_FuncDef (const char *symname, const char *classname)
Member Function Documentation
int m_handle
Stores the function handle, 0 if not defined yet.
const char *m_symname
Stores the symbol name.
const char *m_classname
Stores the class name.
int GetHandle()
Checks whether the function is already defined 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.

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.