ProfilerKernelInvocation Struct
One kernel-invocation telemetry event. More...
Declaration
Included Headers
Public Member Functions Index
| double | duration_ms () const |
|
Convenience: event duration in milliseconds. More... | |
Public Member Attributes Index
| std::uint64_t | start_ns = 0 |
|
Event start timestamp (CLOCK_MONOTONIC, ns). More... | |
| std::uint64_t | end_ns = 0 |
|
Event end timestamp (CLOCK_MONOTONIC, ns). More... | |
| std::string | backend |
|
"MLA", "A65", "EV74", "BoxDecode", "Memcpy". More... | |
| std::string | phase |
|
"Run", "Load", "GetHandle", ... More... | |
| std::int32_t | physical_input_index = -1 |
|
Physical input index, -1 if N/A. More... | |
| std::int32_t | output_slot = -1 |
| std::int64_t | frame_id = -1 |
|
Logical frame id, -1 if not tagged. More... | |
| std::uint32_t | request_id = 0 |
|
Backend request id (0 if unset). More... | |
| std::uint32_t | bytes = 0 |
|
Bytes moved/processed (0 if N/A). More... | |
| std::string | kernel_name |
|
Kernel name (backend-specific). More... | |
| std::string | stage_name |
|
Pipeline stage name. More... | |
| std::string | in_segment |
| std::string | out_segment |
Description
One kernel-invocation telemetry event.
Captures the wall-clock start/end timestamps of a single kernel run plus the routing context (which backend, which physical input, which output slot, which logical frame) so events from different backends can be cross-correlated into a unified timeline.
Definition at line 74 of file LatencyProfiler.h.
Public Member Functions
duration_ms()
| inline |
Convenience: event duration in milliseconds.
Definition at line 90 of file LatencyProfiler.h.
Public Member Attributes
backend
|
"MLA", "A65", "EV74", "BoxDecode", "Memcpy".
Definition at line 77 of file LatencyProfiler.h.
bytes
|
Bytes moved/processed (0 if N/A).
Definition at line 83 of file LatencyProfiler.h.
end_ns
|
Event end timestamp (CLOCK_MONOTONIC, ns).
Definition at line 76 of file LatencyProfiler.h.
frame_id
|
Logical frame id, -1 if not tagged.
Definition at line 81 of file LatencyProfiler.h.
in_segment
|
kernel_name
|
Kernel name (backend-specific).
Definition at line 84 of file LatencyProfiler.h.
out_segment
|
output_slot
|
Output slot, -1 if N/A.
Definition at line 80 of file LatencyProfiler.h.
phase
|
"Run", "Load", "GetHandle", ...
Definition at line 78 of file LatencyProfiler.h.
physical_input_index
|
Physical input index, -1 if N/A.
Definition at line 79 of file LatencyProfiler.h.
request_id
|
Backend request id (0 if unset).
Definition at line 82 of file LatencyProfiler.h.
stage_name
|
start_ns
|
Event start timestamp (CLOCK_MONOTONIC, ns).
Definition at line 75 of file LatencyProfiler.h.
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.