9#include <spdlog/spdlog.h>
26#if SPDLOG_ACTIVE_LEVEL <= SPDLOG_LEVEL_TRACE
35#if SPDLOG_ACTIVE_LEVEL <= SPDLOG_LEVEL_TRACE
46#if SPDLOG_ACTIVE_LEVEL <= SPDLOG_LEVEL_TRACE
55#if SPDLOG_ACTIVE_LEVEL <= SPDLOG_LEVEL_TRACE
64#if SPDLOG_ACTIVE_LEVEL <= SPDLOG_LEVEL_TRACE
73#if SPDLOG_ACTIVE_LEVEL <= SPDLOG_LEVEL_TRACE
Timer class to stop times.
Definition: Timer.h:27
void start()
start the timer.
Definition: Timer.cpp:17
void reset()
Resets the timer to 0.
Definition: Timer.cpp:40
long getTotalTime() const
Get total accumulated time.
Definition: Timer.h:60
void addTime(long nanoseconds)
Adds the given amount of nanoseconds to the total time.
Definition: Timer.cpp:42
long stop()
Stops the timer and returns the time elapsed in nanoseconds since the last call to start.
Definition: Timer.cpp:25
A wrapper around autopas::utils::Timer that only compiles implementation logic if the SPDLOG_ACTIVE_L...
Definition: TraceTimer.h:20
long getTotalTime() const
Get total accumulated time.
Definition: TraceTimer.h:63
void reset()
Resets the timer to 0.
Definition: TraceTimer.h:45
void start()
start the timer.
Definition: TraceTimer.h:25
void addTime(long nanoseconds)
Adds the given amount of nanoseconds to the total time.
Definition: TraceTimer.h:54
long stop()
Stops the timer and returns the time elapsed in nanoseconds since the last call to start.
Definition: TraceTimer.h:34
In this namespace some helper classes and functions can be found used inside of AutoPas.
Definition: namespaces.h:44