Implement profiler

This commit is contained in:
2019-05-14 15:03:14 +02:00
parent 3887b041f6
commit 702c37656f
5 changed files with 37 additions and 51 deletions

View File

@@ -4,7 +4,7 @@ using std::string;
Profiler profiler;
void Profiler::record_function_call(char *function_name)
void Profiler::record_function_call(const char *function_name)
{
calls[function_name]++;
}