This commit is contained in:
Irlan
2019-03-31 11:02:26 -03:00
parent 725ca3ce31
commit fb895192e7
3 changed files with 8 additions and 8 deletions

View File

@ -53,11 +53,11 @@ public:
// This function also flushes the profiler.
void End();
// Push an event.
void PushEvent(const char* name);
// Begin a new scope.
void BeginScope(const char* name);
// Remove the top profiler event.
void PopEvent();
// End the top scope.
void EndScope();
private:
ProfilerNode* CreateNode();
void DestroyNode(ProfilerNode* node);