ProfilerMemcpySite Struct
Aggregate counters for one instrumented memcpy site. More...
Declaration
Included Headers
Public Member Functions Index
| double | total_ms () const |
|
Total time spent at this site, in milliseconds. More... | |
| double | avg_ms () const |
|
Average time per call at this site, in milliseconds. More... | |
Public Member Attributes Index
| std::string | site_name |
|
Site label, e.g. "MEMCPY_NV12_Y". More... | |
| std::uint64_t | calls = 0 |
|
Number of times this site fired. More... | |
| std::uint64_t | total_ns = 0 |
|
Total wall-clock time across all calls (ns). More... | |
| std::uint64_t | total_bytes = 0 |
|
Total bytes copied across all calls. More... | |
| std::uint64_t | max_ns = 0 |
|
Worst-case single-call latency (ns). More... | |
Description
Aggregate counters for one instrumented memcpy site.
The runtime instruments a small fixed set of hot copy sites (e.g., MEMCPY_NV12_Y); each ProfilerMemcpySite rolls up call count, total nanoseconds spent, total bytes moved, and the worst-case single-call latency for one of those sites.
Definition at line 105 of file LatencyProfiler.h.
Public Member Functions
avg_ms()
| inline |
total_ms()
| inline |
Total time spent at this site, in milliseconds.
Definition at line 113 of file LatencyProfiler.h.
Public Member Attributes
calls
|
Number of times this site fired.
Definition at line 107 of file LatencyProfiler.h.
max_ns
|
Worst-case single-call latency (ns).
Definition at line 110 of file LatencyProfiler.h.
site_name
|
Site label, e.g. "MEMCPY_NV12_Y".
Definition at line 106 of file LatencyProfiler.h.
total_bytes
|
Total bytes copied across all calls.
Definition at line 109 of file LatencyProfiler.h.
total_ns
|
Total wall-clock time across all calls (ns).
Definition at line 108 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.