SpiecsEngine
 
Loading...
Searching...
No Matches
Spices::NsightPerfGPUProfilerReportGenerator Class Reference

Wrapper of Nvidia NsightPerf GPU Performance ReportGenerator. More...

#include <NsightPerfGPUProfilerReportGenerator.h>

Public Member Functions

 NsightPerfGPUProfilerReportGenerator (VulkanState &state)
 Constructor Function.
 
virtual ~NsightPerfGPUProfilerReportGenerator ()=default
 Destructor Function.
 
void EndFrame (VulkanState &state)
 End a Frame. The vkQueueWaitIdle() call in the code sequence above is a workaround for a driver/OS issue.
 
void BeginFrame (VkQueue queue, uint32_t queueFamilyIndex)
 Begin a Frame. OnFrameStart and OnFrameEnd will not perform any operation until collection is initiated.
 
void PushRange (VkCommandBuffer commandBuffer, const std::string &pRangeName) const
 Struct VulkanRangeCommands provides a reliable set of function pointers, that are safe to call on any device (supported, unsupported, or non-NVIDIA). The ReportGeneratorVulkan has a member rangeCommands.
 
void PopRange (VkCommandBuffer commandBuffer) const
 Pop Range.
 
void Reset (VulkanState &state)
 Reset Reporter.
 
void CollectionNextFrame ()
 Capture next frame and generate report.
 
void EnableCapture ()
 EnableCapture.
 

Static Public Member Functions

static void CreateInstance (VulkanState &state)
 Create this Single Instance.
 
static NsightPerfGPUProfilerReportGeneratorGet ()
 Get this Single Instance.
 

Private Attributes

nv::perf::profiler::ReportGeneratorVulkan m_NvPerf
 Nvidia Nsight Performance ReportGenerator.
 
NVPW_Device_ClockStatus m_ClockStatus
 Used to restore clock state when exiting.
 
bool m_CapturedThisFrame
 true if captured this frame.
 

Static Private Attributes

static std::shared_ptr< NsightPerfGPUProfilerReportGeneratorm_NsightPerfGPUProfilerReportGenerator
 This Single Instance.
 

Detailed Description

Wrapper of Nvidia NsightPerf GPU Performance ReportGenerator.

Definition at line 21 of file NsightPerfGPUProfilerReportGenerator.h.


The documentation for this class was generated from the following files: