benchmark() now takes a string

benchmark() now takes a message instead of getting the message from
__PRETTY_FUNCTION__, since it is more explicit
This commit is contained in:
apio 2022-06-22 18:16:45 +02:00
parent e4fd6c863a
commit 1f11d8ce4d

View File

@ -32,4 +32,4 @@ class __benchmark_impl
bool m_InternalBenchmarkingEnabled;
};
#define benchmark() __benchmark_impl __benchmark_impl_timer(__PRETTY_FUNCTION__)
#define benchmark(message) __benchmark_impl __benchmark_impl_timer(message)