Intel® Trace Analyzer and Collector User and Reference Guide

ID 767272
Date 3/31/2023
Public
Document Table of 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 Analyzer and Collector was not initialized or ran out of memory.