8 #define PROFILE_SCOPE(name) IPDF::ProfilerScope _localProfZone(name)
17 void BeginZone(std::string name);
32 std::map<std::string, ProfileZone> m_zones;
33 std::stack<std::string> m_zone_stack;
36 extern Profiler g_profiler;
39 ProfilerScope(std::string name) { g_profiler.BeginZone(name); }
40 ~ProfilerScope() { g_profiler.EndZone(); }