24#include "../../kernel.hpp"
30 std::chrono::time_point<std::chrono::system_clock, std::chrono::nanoseconds>
m_StartPoint;
34 Timer(
const std::string& scopeName)
37 m_StartPoint = std::chrono::time_point_cast<std::chrono::nanoseconds>(std::chrono::system_clock::now());
47 auto endTimePoint = std::chrono::time_point_cast<std::chrono::nanoseconds>(std::chrono::system_clock::now());
48 std::chrono::nanoseconds time_span = endTimePoint -
m_StartPoint;
static void print(const std::string &__sLine, bool printingEnabled=true)
This member function appends the passed string as a new output line to the buffer and informs the ter...
std::chrono::time_point< std::chrono::system_clock, std::chrono::nanoseconds > m_StartPoint
Timer(const std::string &scopeName)
std::string toString(int)
Converts an integer to a string without the Settings bloat.