Function wgpu_profiler::chrometrace::write_chrometrace[][src]

pub fn write_chrometrace(
    target: &Path,
    profile_data: &[GpuTimerScopeResult]
) -> Result<()>

Writes a .json trace file that can be viewed as a flame graph in Chrome via chrome://tracing