Files
open_pit/profiler.cpp
2019-05-14 13:27:11 +02:00

17 lines
196 B
C++

#include "profiler.hpp"
using std::string;
Profiler profiler;
void Profiler::record_function_call(char *function_name)
{
calls[function_name]++;
}
void Profiler::clear()
{
calls.clear();
}