Detailed Description
Two Macros are provided for a convenient way to instrument your code with ITAC. When adding instrumentation you need to take care about building your bainry properly (Compiling and linking with ITAC instrumentation).
Define Documentation
Use this macro to manually instrument your function (or scope) at its beginning, e.g. VT_FUNC( "MyClass::myMethod" ); See also Compiling and linking with ITAC instrumentation
- Parameters:
-
funcName | name of function (in double quotes), potentially including class/namespace hierachy |
Definition at line 151 of file itac.h.
Similar to VT_FUNC, but the recorded function name can change between invocations. It is slower, so don't use it unless really needed. See also Compiling and linking with ITAC instrumentation
- Parameters:
-
funcName | name of function (in double quotes), potentially including class/namespace hierachy |
Definition at line 158 of file itac.h.
In shared memory, ITC needs to be initialized. This is done automatically with the first context construction. Use this only if you want to see things in the trace before the first context is created. Don't use it for distributed memory.
Definition at line 164 of file itac.h.
Use this macro to define an (optional) name for your application thread, e.g. VT_THREAD_NAME( "myApp" ). This name will appear for your thread in ITAC's event timeline.
- Parameters:
-
threadName | name of calling thread (in double quotes), to appear in ITAC tracefile |
Definition at line 145 of file itac.h.