It's starting to become a proper challange

This commit is contained in:
2019-06-26 14:44:06 +02:00
parent da749e84f4
commit 0c9768e065
8 changed files with 500265 additions and 46 deletions

View File

@@ -9,7 +9,8 @@ class Profiler
public:
std::map<std::string, uint32_t> calls;
void record_function_call(const char *function_name);
void clear();
void reset();
bool command_line(const std::string &input);
};
#define PROFILER_RECORD profiler.record_function_call(__func__)