MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / end

Method end

Source/Falcor/Core/API/GpuTimer.cpp:97–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95}
96
97void GpuTimer::end()
98{
99 if (mStatus != Status::Begin)
100 {
101 logWarning("GpuTimer::end() was called without a preceding GpuTimer::begin(). Ignoring call.");
102 return;
103 }
104
105 mpDevice->getRenderContext()->getLowLevelData()->getResourceCommandEncoder()->writeTimestamp(
106 mpDevice->getTimestampQueryHeap()->getGfxQueryPool(), mEnd
107 );
108 mStatus = Status::End;
109}
110
111void GpuTimer::resolve()
112{

Callers 15

findClassDescFunction · 0.45
loadPluginMethod · 0.45
releasePluginMethod · 0.45
getImportPathsMethod · 0.45
getImportDictsMethod · 0.45
addSearchPathMethod · 0.45
incRefMethod · 0.45
decRefMethod · 0.45
Enum.hFile · 0.45
stringToEnumFunction · 0.45
enumHasValueFunction · 0.45
getSRVMethod · 0.45

Calls 2

logWarningFunction · 0.50

Tested by 2

getImportPathsMethod · 0.36
getImportDictsMethod · 0.36