Implement profiler
This commit is contained in:
@@ -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]++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user