7#include "../utility/utility.hpp"
8#include "../time/module.hpp"
10#include "../macros.hpp"
32 virtual void log()
const noexcept = 0;
35 inline static thread_local trace_base *_top =
nullptr;
41template<fixed_
string Tag>
48 if (std::uncaught_exceptions()) {
53 global_counter<Tag>.add_duration(current_time_stamp.count() - _time_stamp.count());
56 void log()
const noexcept override
DOXYGEN BUG.
Definition algorithm.hpp:16
constexpr Out narrow_cast(In const &rhs) noexcept
Cast numeric values without loss of precision.
Definition cast.hpp:377
Since Window's 10 QueryPerformanceCounter() counts at only 10MHz which is too low to measure performa...
Definition time_stamp_count.hpp:31
Definition time_stamp_count.hpp:33