19 bool replace(std::string& str,
const std::string& from,
const std::string& to);
25 std::string
to_string(
const float& value);
41 std::chrono::time_point<std::chrono::high_resolution_clock> m_StartTimePoint;
42 std::string_view m_FunctionName;
43 static bool m_BenchmarkingEnabled;
44 bool m_InternalBenchmarkingEnabled;
47 #define benchmark(message) __benchmark_impl __benchmark_impl_timer(message)
__benchmark_impl(std::string_view __function_name)
Definition: utils.cpp:26
static void disable()
Definition: utils.cpp:52
static void init()
Definition: utils.cpp:47
~__benchmark_impl()
Definition: utils.cpp:33
static void enable()
Definition: utils.cpp:57
bool replace(std::string &str, const std::string &from, const std::string &to)
Definition: utils.cpp:4
std::string to_string(const int &value)
Definition: utils.cpp:12