|
TEC
A lightweight C++ library enabling safe, efficient execution in multithreaded and concurrent systems.
|
Provides a thread-safe tracing utility for debugging in the tec namespace. More...
#include <ostream>#include <string>#include <mutex>#include "tec/tec_def.hpp"#include "tec/tec_print.hpp"#include "tec/tec_utils.hpp"Go to the source code of this file.
Classes | |
| struct | tec::details::trace_mutex |
| Provides a global mutex for synchronizing trace output. More... | |
| class | tec::Tracer< Duration > |
| A thread-safe tracer for logging entry, exit, and custom messages. More... | |
Macros | |
| #define | _TEC_TRACE_RES MilliSec |
| #define | TEC_ENTER(name) |
| Logs an entry message for a named context (e.g., function). | |
| #define | TEC_TRACE(...) |
| Logs a formatted trace message. | |
Provides a thread-safe tracing utility for debugging in the tec namespace.