Bitcoin Core  0.20.99
P2P Digital Currency
Classes | Namespaces | Macros
timer.h File Reference
#include <logging.h>
#include <util/macros.h>
#include <util/time.h>
#include <chrono>
#include <string>
Include dependency graph for timer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  BCLog::Timer< TimeType >
 RAII-style object that outputs timing information to logs. More...




#define LOG_TIME_MILLIS_WITH_CATEGORY(end_msg, log_category)   BCLog::Timer<std::chrono::milliseconds> PASTE2(logging_timer, __COUNTER__)(__func__, end_msg, log_category)
#define LOG_TIME_SECONDS(end_msg)   BCLog::Timer<std::chrono::seconds> PASTE2(logging_timer, __COUNTER__)(__func__, end_msg)

Macro Definition Documentation


#define LOG_TIME_MILLIS_WITH_CATEGORY (   end_msg,
)    BCLog::Timer<std::chrono::milliseconds> PASTE2(logging_timer, __COUNTER__)(__func__, end_msg, log_category)

Definition at line 96 of file timer.h.


#define LOG_TIME_SECONDS (   end_msg)    BCLog::Timer<std::chrono::seconds> PASTE2(logging_timer, __COUNTER__)(__func__, end_msg)

Definition at line 98 of file timer.h.