2 #include "FormatString/FormatString.hpp"
3 #include "sapphirepch.h"
13 bool replace(std::string& str,
const std::string& from,
const std::string& to);
16 std::string to_string(
const int& value);
19 std::string to_string(
const float& value);
30 static void disable();
35 std::chrono::time_point<std::chrono::high_resolution_clock> m_StartTimePoint;
36 std::string_view m_FunctionName;
37 static bool m_BenchmarkingEnabled;
38 bool m_InternalBenchmarkingEnabled;
41 #define benchmark(message) __benchmark_impl __benchmark_impl_timer(message)