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:
parent
e4fd6c863a
commit
1f11d8ce4d
@ -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)
|
Loading…
Reference in New Issue
Block a user