Bitcoin ABC  0.29.2
P2P Digital Currency
Classes | Namespaces | Macros
timer.h File Reference
#include <logging.h>
#include <util/macros.h>
#include <util/time.h>
#include <util/types.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.

Classes

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

Namespaces

 BCLog
 

Macros

#define LOG_TIME_MICROS_WITH_CATEGORY(end_msg, log_category)
 
#define LOG_TIME_MILLIS_WITH_CATEGORY(end_msg, log_category)
 
#define LOG_TIME_MILLIS_WITH_CATEGORY_MSG_ONCE(end_msg, log_category)
 
#define LOG_TIME_SECONDS(end_msg)
 

Macro Definition Documentation

◆ LOG_TIME_MICROS_WITH_CATEGORY

#define LOG_TIME_MICROS_WITH_CATEGORY (   end_msg,
  log_category 
)
Value:
__func__, end_msg, log_category)
RAII-style object that outputs timing information to logs.
Definition: timer.h:20
#define UNIQUE_LOG_NAME(name)
Definition: macros.h:11

Definition at line 94 of file timer.h.

◆ LOG_TIME_MILLIS_WITH_CATEGORY

#define LOG_TIME_MILLIS_WITH_CATEGORY (   end_msg,
  log_category 
)
Value:
__func__, end_msg, log_category)

Definition at line 97 of file timer.h.

◆ LOG_TIME_MILLIS_WITH_CATEGORY_MSG_ONCE

#define LOG_TIME_MILLIS_WITH_CATEGORY_MSG_ONCE (   end_msg,
  log_category 
)
Value:
__func__, end_msg, log_category, /* msg_on_completion=*/false)

Definition at line 100 of file timer.h.

◆ LOG_TIME_SECONDS

#define LOG_TIME_SECONDS (   end_msg)
Value:
__func__, end_msg)

Definition at line 103 of file timer.h.