Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
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

namespace  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:
RAII-style object that outputs timing information to logs.
Definition timer.h:20
#define UNIQUE_LOG_NAME(name)
Definition macros.h:11
T GetRand(T nMax=std::numeric_limits< T >::max()) noexcept
Generate a uniform random integer of type T in the range [0..nMax) nMax defaults to std::numeric_limi...
Definition random.h:85

Definition at line 94 of file timer.h.

◆ LOG_TIME_MILLIS_WITH_CATEGORY

#define LOG_TIME_MILLIS_WITH_CATEGORY (   end_msg,
  log_category 
)

◆ LOG_TIME_MILLIS_WITH_CATEGORY_MSG_ONCE

#define LOG_TIME_MILLIS_WITH_CATEGORY_MSG_ONCE (   end_msg,
  log_category 
)
Value:

Definition at line 100 of file timer.h.

◆ LOG_TIME_SECONDS

#define LOG_TIME_SECONDS (   end_msg)