All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TfMallocTag::Auto2 Class Reference

Scoped (i.e. More...

Public Member Functions

 Auto2 (const char *name1, const char *name2)
 Push two memory tags onto the local-call stack. More...
 
 Auto2 (const std::string &name1, const std::string &name2)
 Push two memory tags onto the local-call stack. More...
 
void Release ()
 Pop two memory tags from the local-call stack. More...
 

Detailed Description

Scoped (i.e.

local) object for creating/destroying memory tags.

Auto2 is just like Auto, except it pushes two tags onto the stack.

Definition at line 349 of file mallocTag.h.

Constructor & Destructor Documentation

Auto2 ( const char *  name1,
const char *  name2 
)
inline

Push two memory tags onto the local-call stack.

See Also
TfMallocTag::Auto(const char* name).

Definition at line 354 of file mallocTag.h.

Auto2 ( const std::string &  name1,
const std::string &  name2 
)
inline

Push two memory tags onto the local-call stack.

See Also
TfMallocTag::Auto(const std::string& name).

Definition at line 363 of file mallocTag.h.

Member Function Documentation

void Release ( )
inline

Pop two memory tags from the local-call stack.

See Also
TfMallocTag::Auto(const char* name).

Definition at line 372 of file mallocTag.h.


The documentation for this class was generated from the following file: