Initial commit

This commit is contained in:
2019-05-14 13:27:11 +02:00
commit 75fb7278c9
11 changed files with 460 additions and 0 deletions

16
profiler.cpp Normal file
View File

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