Commit 8406e4b
[Cherry-pick] [proton] Add init and final timestamps to chrome trace (#8870) (#719)
Summary:
Cherry-picked from upstream OAI repository.
Original Commit: ecbb77c
Original Author: Srivatsan Ramesh
Original Date: 2025-12-02 12:32:13 -0500
Original commit message:
```
[proton] Add init and final timestamps to chrome trace (#8870)
Currently the trace timing information are all obained from GPU clock
and are scaled assuming a frequency of 1GHz but if the GPU operates at a
different frequency the timing information becomes a bit misleading. In
this PR, enhanced the Proton instrumentation trace output to include
block-level timing metadata in each trace event, enabling better
temporal analysis.
```
This PR was automatically cherry-picked from the upstream triton-lang/triton repository.
Pull Request resolved: #719
Reviewed By: fywkevin
Differential Revision: D88415845
Pulled By: srivatsan-ramesh
fbshipit-source-id: 3167a0e90fa06be42bd83ba121d46aad58add7511 parent 98e0997 commit 8406e4b
File tree
2 files changed
+59
-0
lines changed- third_party/proton
- common/lib/TraceDataIO
- test
2 files changed
+59
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
| 235 | + | |
| 236 | + | |
235 | 237 | | |
236 | 238 | | |
237 | 239 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
701 | 701 | | |
702 | 702 | | |
703 | 703 | | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
704 | 761 | | |
705 | 762 | | |
706 | 763 | | |
| |||
0 commit comments