End a Frame. The vkQueueWaitIdle() call in the code sequence above is a workaround for a driver/OS issue.
- Parameters
-
Wait for all device task over.
- Note
- take frmame counts: 98 * SetNumNestingLevels().
- Todo
- slate infobar.
Wait for all device task over.
- Note
- take frmame counts: 98 * SetNumNestingLevels().
- Todo
- slate infobar.
Definition at line 73 of file NsightPerfGPUProfilerReportGenerator.cpp.
74 {
76
78
80 {
86 VK_CHECK(vkDeviceWaitIdle(state.m_Device))
87 SPICES_CORE_INFO("Nsight Perf: Report Generator is sampling.");
88 }
89 else if (
m_NvPerf.GetInitStatus() != nv::perf::profiler::ReportGeneratorInitStatus::Succeeded)
90 {
91 SPICES_CORE_ERROR("Nsight Perf: Report Generator UnKnown failed.");
92 }
93 }
#define NSPERF_CHECK(val)
#define SPICES_PROFILE_ZONE
#define VK_CHECK(expr)
Vulkan Check macro. Verify Vulkan API Effectiveness.
nv::perf::profiler::ReportGeneratorVulkan m_NvPerf
Nvidia Nsight Performance ReportGenerator.