Wrapper of Nvidia Nsight Performance OneshotCollection. More...
#include <NsightPerfGPUProfilerOneshotCollection.h>
Public Types | |
| using | SamplerStatus = nv::perf::sampler::PeriodicSamplerOneShotVulkan::SamplerStatus |
Public Member Functions | |
| NsightPerfGPUProfilerOneshotCollection (VulkanState &state) | |
| Constructor Function. | |
| virtual | ~NsightPerfGPUProfilerOneshotCollection ()=default |
| Destructor Function. | |
| void | Create (VulkanState &state) |
| Create this. | |
| void | BeginFrame (VulkanState &state, VkCommandBuffer commandBuffer) |
| Begin a Frame. | |
| void | BeginRange (VkCommandBuffer cmd, const std::string &name, size_t nestingLevel, uint32_t index) |
| Begin recording a Oneshot Collection Range. | |
| void | EndRange (VkCommandBuffer cmd, size_t index) |
| End recording a Oneshot Collection Range. | |
| void | EndFrame () |
| End a Frmae. | |
| void | Quit () |
| Quit application. | |
| void | DestroyQueryPool () |
| Destroy Query Pool. | |
| void | CaptureFrame () |
| Capture this frame. | |
Static Public Member Functions | |
| static void | CreateInstance (VulkanState &state) |
| Create this Single Instance. | |
| static NsightPerfGPUProfilerOneshotCollection & | Get () |
| Get this Single Instance. | |
Private Member Functions | |
| void | InitApiTracer (VulkanState &state) |
| Init Api Tracer. | |
| void | Reset () |
| Reset Session. | |
Private Attributes | |
| VulkanState & | m_VulkanState |
| VulkanState. | |
| nv::perf::sampler::PeriodicSamplerOneShotVulkan | m_PeriodicSamplerOneShot |
| PeriodicSamplerOneShotVulkan. | |
| std::vector< nv::perf::mini_trace::APITracerVulkan > | m_ApiTracers |
| APITracerVulkan Per FlightFrame. | |
| std::vector< size_t > | m_FrameLevelTraceIndice |
| FrameLevelTraceIndice. | |
| std::string | m_OutputDirectory |
| OutFile Directory. | |
| bool | m_IsInSession |
| True if in Session. | |
| bool | m_EnableCaptureNextFrame |
| True if want capture next frame. | |
Static Private Attributes | |
| static std::shared_ptr< NsightPerfGPUProfilerOneshotCollection > | m_NsightPerfGPUProfilerOneshotCollection |
| This Single Instance. | |
Wrapper of Nvidia Nsight Performance OneshotCollection.
Definition at line 19 of file NsightPerfGPUProfilerOneshotCollection.h.