timemory 3.3.0
Modular C++ Toolkit for Performance Analysis and Logging. Profiling API and Tools for C, C++, CUDA, Fortran, and Python. The C++ template API is essentially a framework to creating tools: it is designed to provide a unifying interface for recording various performance measurements alongside data logging and interfaces to other tools.
macros.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define TIMEMORY_SPRINTF(VAR, LEN, FMT, ...)
 
#define TIMEMORY_CODE(...)   __VA_ARGS__
 
#define TIMEMORY_INSTRUMENT   TIMEMORY_ATTRIBUTE(xray_always_instrument)
 
#define TIMEMORY_WEAK_PREFIX   TIMEMORY_ATTRIBUTE(weak)
 
#define TIMEMORY_WEAK_POSTFIX
 
#define TIMEMORY_CTOR   TIMEMORY_ATTRIBUTE(constructor)
 
#define TIMEMORY_DTOR   TIMEMORY_ATTRIBUTE(destructor)
 

Macro Definition Documentation

◆ TIMEMORY_CODE

#define TIMEMORY_CODE (   ...)    __VA_ARGS__

Definition at line 61 of file macros.h.

◆ TIMEMORY_CTOR

#define TIMEMORY_CTOR   TIMEMORY_ATTRIBUTE(constructor)

Definition at line 257 of file macros.h.

◆ TIMEMORY_DTOR

#define TIMEMORY_DTOR   TIMEMORY_ATTRIBUTE(destructor)

Definition at line 267 of file macros.h.

◆ TIMEMORY_INSTRUMENT

#define TIMEMORY_INSTRUMENT   TIMEMORY_ATTRIBUTE(xray_always_instrument)

Definition at line 207 of file macros.h.

◆ TIMEMORY_SPRINTF

#define TIMEMORY_SPRINTF (   VAR,
  LEN,
  FMT,
  ... 
)
Value:
char VAR[LEN]; \
snprintf(VAR, LEN, FMT, __VA_ARGS__);

Definition at line 51 of file macros.h.

◆ TIMEMORY_WEAK_POSTFIX

#define TIMEMORY_WEAK_POSTFIX

Definition at line 242 of file macros.h.

◆ TIMEMORY_WEAK_PREFIX

#define TIMEMORY_WEAK_PREFIX   TIMEMORY_ATTRIBUTE(weak)

Definition at line 230 of file macros.h.