MCPcopy Create free account
hub / github.com/aliasIsolation/aliasIsolation / EndProfile

Method EndProfile

src/dll/profiler.cpp:72–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72void Profiler::EndProfile(const string& name)
73{
74 ProfileData& profileData = profiles[name];
75 _ASSERT(profileData.QueryStarted == TRUE);
76 _ASSERT(profileData.QueryFinished == FALSE);
77
78 // Insert the end timestamp
79 context->End(profileData.TimestampEndQuery[currFrame]);
80
81 // End the disjoint query
82 context->End(profileData.DisjointQuery[currFrame]);
83
84 profileData.QueryStarted = FALSE;
85 profileData.QueryFinished = TRUE;
86}
87
88void Profiler::EndFrame()
89{

Callers 1

~ProfileBlockMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected