Skip to main content

ProfilerReport Struct

Snapshot bundle returned by LatencyProfiler::finalize(). More...

Declaration

struct simaai::neat::ProfilerReport { ... }

Included Headers

#include <LatencyProfiler.h>

Public Member Attributes Index

RunStatsend_to_end {}

End-to-end per-frame stats (Run::stats()). More...

InputStreamStatsinput_stream {}

Input stream backpressure stats. More...

RunDiagSnapshotdiag {}

Per-element aggregate timings. More...

std::vector< ProfilerKernelInvocation >kernel_invocations

Per-event timeline. More...

std::vector< ProfilerKernelAggregate >kernel_aggregates

Bucketed event totals. More...

std::vector< ProfilerMemcpySite >memcpy_sites

Per-site memcpy counters. More...

std::uint64_tprofiler_emits = 0

Number of events the runtime emitted. More...

std::uint64_tprofiler_dropped = 0

Number of events dropped (ring full). More...

std::stringmpk_path

Optional: caller may set to identify the loaded MPK. More...

std::stringdescription

Optional: caller-supplied label for the run. More...

std::int64_tframes_total = 0

Optional: total frames pushed during the run. More...

std::int64_twarmup_frames = 0

Optional: warmup frames excluded from measurements. More...

Description

Snapshot bundle returned by LatencyProfiler::finalize().

Combines the existing per-frame and per-element telemetry surfaces with the new per-invocation kernel events and memcpy-site totals. Optional fields (mpk_path, description, frames_total, warmup_frames) let the caller stamp the report with run-identifying metadata before serialising.

See Also

LatencyProfiler::to_text

See Also

LatencyProfiler::to_chrome_trace

Definition at line 158 of file LatencyProfiler.h.

Public Member Attributes

description

std::string simaai::neat::ProfilerReport::description

Optional: caller-supplied label for the run.

Definition at line 173 of file LatencyProfiler.h.

173 std::string description;

diag

RunDiagSnapshot simaai::neat::ProfilerReport::diag {}

Per-element aggregate timings.

Definition at line 162 of file LatencyProfiler.h.

end_to_end

RunStats simaai::neat::ProfilerReport::end_to_end {}

End-to-end per-frame stats (Run::stats()).

Definition at line 160 of file LatencyProfiler.h.

frames_total

std::int64_t simaai::neat::ProfilerReport::frames_total = 0

Optional: total frames pushed during the run.

Definition at line 174 of file LatencyProfiler.h.

174 std::int64_t frames_total = 0;

input_stream

InputStreamStats simaai::neat::ProfilerReport::input_stream {}

Input stream backpressure stats.

Definition at line 161 of file LatencyProfiler.h.

kernel_aggregates

std::vector<ProfilerKernelAggregate> simaai::neat::ProfilerReport::kernel_aggregates

Bucketed event totals.

Definition at line 166 of file LatencyProfiler.h.

166 std::vector<ProfilerKernelAggregate> kernel_aggregates;

kernel_invocations

std::vector<ProfilerKernelInvocation> simaai::neat::ProfilerReport::kernel_invocations

Per-event timeline.

Definition at line 165 of file LatencyProfiler.h.

165 std::vector<ProfilerKernelInvocation> kernel_invocations;

memcpy_sites

std::vector<ProfilerMemcpySite> simaai::neat::ProfilerReport::memcpy_sites

Per-site memcpy counters.

Definition at line 167 of file LatencyProfiler.h.

167 std::vector<ProfilerMemcpySite> memcpy_sites;

mpk_path

std::string simaai::neat::ProfilerReport::mpk_path

Optional: caller may set to identify the loaded MPK.

Definition at line 172 of file LatencyProfiler.h.

172 std::string mpk_path;

profiler_dropped

std::uint64_t simaai::neat::ProfilerReport::profiler_dropped = 0

Number of events dropped (ring full).

Definition at line 170 of file LatencyProfiler.h.

170 std::uint64_t profiler_dropped = 0;

profiler_emits

std::uint64_t simaai::neat::ProfilerReport::profiler_emits = 0

Number of events the runtime emitted.

Definition at line 169 of file LatencyProfiler.h.

169 std::uint64_t profiler_emits = 0;

warmup_frames

std::int64_t simaai::neat::ProfilerReport::warmup_frames = 0

Optional: warmup frames excluded from measurements.

Definition at line 175 of file LatencyProfiler.h.

175 std::int64_t warmup_frames = 0;

The documentation for this struct was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.