|
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.
|
#include "timemory/macros/attributes.hpp"#include <cstdint>#include <cstdio>#include <iosfwd>#include <string>#include <utility>
Include dependency graph for macros.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Macros | |
| #define | TIMEMORY_UTILITY_INLINE inline |
| #define | TIMEMORY_UTILITY_HEADER_ONLY 1 |
| #define | CREATE_STATIC_VARIABLE_ACCESSOR(TYPE, FUNC_NAME, VARIABLE) |
| #define | CREATE_STATIC_FUNCTION_ACCESSOR(TYPE, FUNC_NAME, VARIABLE) |
| #define | TIMEMORY_STRINGIZE(X) TIMEMORY_STRINGIZE2(X) |
| #define | TIMEMORY_STRINGIZE2(X) # X |
| #define | TIMEMORY_TRUNCATED_FILE_STRING(FILE) |
| #define | TIMEMORY_FILE_LINE_FUNC_STRING |
| #define | TIMEMORY_PID_TID_STRING |
| #define | PRINT_HERE(...) |
| #define | DEBUG_PRINT_HERE(...) |
| #define | VERBOSE_PRINT_HERE(VERBOSE_LEVEL, ...) |
| #define | CONDITIONAL_PRINT_HERE(CONDITION, ...) |
| #define | TIMEMORY_CONDITIONAL_BACKTRACE(CONDITION, DEPTH) |
| #define | TIMEMORY_CONDITIONAL_DEMANGLED_BACKTRACE(CONDITION, DEPTH) |
| #define | PRETTY_PRINT_HERE(...) |
| #define | _LOG(...) {} |
| #define | _DBG(...) {} |
| #define | TIMEMORY_UTILITY_LINKAGE(...) inline __VA_ARGS__ |
| #define | TIMEMORY_UTILITY_INLINE inline |
| #define | TIMEMORY_UTILITY_HEADER_MODE |
Functions | |
| template<typename Arg > | |
| auto | timemory_proxy_value (Arg &&arg, int) -> decltype(arg.proxy_value()) |
| template<typename Arg > | |
| auto | timemory_proxy_value (Arg &&arg, long) |
| template<typename... Args> | |
| void | timemory_print_here (const char *_pid_tid, const char *_file, int _line, const char *_func, Args &&... args) |
| #define _DBG | ( | ... | ) | {} |
Definition at line 290 of file macros.hpp.
| #define _LOG | ( | ... | ) | {} |
Definition at line 288 of file macros.hpp.
| #define CONDITIONAL_PRINT_HERE | ( | CONDITION, | |
| ... | |||
| ) |
Definition at line 183 of file macros.hpp.
| #define CREATE_STATIC_FUNCTION_ACCESSOR | ( | TYPE, | |
| FUNC_NAME, | |||
| VARIABLE | |||
| ) |
Definition at line 69 of file macros.hpp.
| #define CREATE_STATIC_VARIABLE_ACCESSOR | ( | TYPE, | |
| FUNC_NAME, | |||
| VARIABLE | |||
| ) |
Definition at line 58 of file macros.hpp.
| #define DEBUG_PRINT_HERE | ( | ... | ) |
Definition at line 168 of file macros.hpp.
| #define PRETTY_PRINT_HERE | ( | ... | ) |
Definition at line 217 of file macros.hpp.
| #define PRINT_HERE | ( | ... | ) |
Definition at line 152 of file macros.hpp.
| #define TIMEMORY_CONDITIONAL_BACKTRACE | ( | CONDITION, | |
| DEPTH | |||
| ) |
Definition at line 193 of file macros.hpp.
| #define TIMEMORY_CONDITIONAL_DEMANGLED_BACKTRACE | ( | CONDITION, | |
| DEPTH | |||
| ) |
Definition at line 202 of file macros.hpp.
| #define TIMEMORY_FILE_LINE_FUNC_STRING |
Definition at line 108 of file macros.hpp.
| #define TIMEMORY_PID_TID_STRING |
Definition at line 117 of file macros.hpp.
| #define TIMEMORY_STRINGIZE | ( | X | ) | TIMEMORY_STRINGIZE2(X) |
Definition at line 86 of file macros.hpp.
| #define TIMEMORY_STRINGIZE2 | ( | X | ) | # X |
Definition at line 91 of file macros.hpp.
| #define TIMEMORY_TRUNCATED_FILE_STRING | ( | FILE | ) |
Definition at line 95 of file macros.hpp.
| #define TIMEMORY_UTILITY_HEADER_MODE |
Definition at line 309 of file macros.hpp.
| #define TIMEMORY_UTILITY_HEADER_ONLY 1 |
Definition at line 44 of file macros.hpp.
| #define TIMEMORY_UTILITY_INLINE inline |
Definition at line 308 of file macros.hpp.
| #define TIMEMORY_UTILITY_INLINE inline |
Definition at line 308 of file macros.hpp.
| #define TIMEMORY_UTILITY_LINKAGE | ( | ... | ) | inline __VA_ARGS__ |
Definition at line 307 of file macros.hpp.
| #define VERBOSE_PRINT_HERE | ( | VERBOSE_LEVEL, | |
| ... | |||
| ) |
Definition at line 173 of file macros.hpp.
| void timemory_print_here | ( | const char * | _pid_tid, |
| const char * | _file, | ||
| int | _line, | ||
| const char * | _func, | ||
| Args &&... | args | ||
| ) |
Definition at line 142 of file macros.hpp.
References tim::plotting::_file, and timemory_proxy_value().
| auto timemory_proxy_value | ( | Arg && | arg, |
| int | |||
| ) | -> decltype(arg.proxy_value()) |
Definition at line 128 of file macros.hpp.
Referenced by timemory_print_here().
| auto timemory_proxy_value | ( | Arg && | arg, |
| long | |||
| ) |
Definition at line 135 of file macros.hpp.