Skip to content

Commit db33b44

Browse files
committed
vprof: next run
1 parent fef2fe7 commit db33b44

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

source/modules/vprof.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -746,7 +746,12 @@ void CVProfModule::Init(CreateInterfaceFn* appfn, CreateInterfaceFn* gamefn)
746746
Msg("m_bPMEInit: %s\n", prof->m_bPMEInit ? "true" : "false");
747747
Msg("m_bPMEEnabled: %s\n", prof->m_bPMEEnabled ? "true" : "false");
748748
Msg("m_NumCounters: %i\n", prof->m_NumCounters);
749-
prof->m_ProfileDetailLevel = 4;
749+
750+
Msg("Entering Scope\n");
751+
g_VProfCurrentProfile.EnterScope(_T("HolyLib_Test"), 0, "HolyLib", false);
752+
Msg("m_fAtRoot: %s\n", prof->m_fAtRoot ? "true" : "false");
753+
g_VProfCurrentProfile.ExitScope();
754+
Msg("Exiting Scope\n");
750755
}
751756

752757
void CVProfModule::Shutdown()

0 commit comments

Comments
 (0)