feat(hpm): add descriptions to HPM events (#157) Carry an event description together with each HPM name and value, preserving the metadata while events pass through module boundaries. Add the small HPMDocDump utility that writes the four event sets to build/hpm.csv when elaboration requests a dump. Keep the legacy tuple-based HasPerfEvents API unchanged and add a separate HasPerfEventInfos trait for description-aware events. HPerfCounter and HPerfMonitor use the new trait, while getPerfEvents remains available so branches that have not migrated still compile.
feat(hpm): add descriptions to HPM events (#157)
Carry an event description together with each HPM name and value, preserving the metadata while events pass through module boundaries. Add the small HPMDocDump utility that writes the four event sets to build/hpm.csv when elaboration requests a dump.
Keep the legacy tuple-based HasPerfEvents API unchanged and add a separate HasPerfEventInfos trait for description-aware events. HPerfCounter and HPerfMonitor use the new trait, while getPerfEvents remains available so branches that have not migrated still compile.
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802047560号