tenzr::profiler::BottleneckReport¶
Heuristic analysis of the dominant performance bottleneck.
#include <trace.h>
Public Functions¶
| Name | |
|---|---|
| std::string | Format() const |
Public Attributes¶
| Name | |
|---|---|
| std::string | primary_bottleneck |
| double | compute_to_comm_ratio |
| double | memory_transfer_pct |
| double | collective_comm_pct Share of time spent on collectives. |
| int64_t | total_device_kernel_us |
| int64_t | total_memory_transfer_us |
| int64_t | total_collective_comm_us Total collective-communication time. |
| std::vector< std::string > | recommendations |
Public Functions Documentation¶
function Format¶
Return:
- Multi-line human-readable report.
- Formatted report text.
Render the identified bottleneck and recommendations.
Public Attributes Documentation¶
variable primary_bottleneck¶
variable compute_to_comm_ratio¶
variable memory_transfer_pct¶
variable collective_comm_pct¶
Share of time spent on collectives.
variable total_device_kernel_us¶
variable total_memory_transfer_us¶
variable total_collective_comm_us¶
Total collective-communication time.