Commit c812dd6
authored
stdlib: Add Wattson TPU power estimation (#5022)
Introduces a multi-dimensional TPU power model for Wattson, integrating
frequency, cluster, and parallel request concurrency.
Key changes:
- Created a non-linear TPU power curve LUT with support for
workload-based scaling.
- Implemented TPU frequency and cluster extraction from 'DVFS' tracks.
- Clamped request lookups to 8 for now due to measurement limitations.
Bug: 454625451
Test: Wattson power estimation vs ground truth
---------
Signed-off-by: Runping Lai <runpinglai@google.com>1 parent 4a5b83f commit c812dd6
File tree
11 files changed
+709
-4
lines changed- src/trace_processor/perfetto_sql/stdlib/wattson
- curves
- tpu
- ui
- test
- data
- trace_processor/diff_tests/stdlib/wattson
11 files changed
+709
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16663 | 16663 | | |
16664 | 16664 | | |
16665 | 16665 | | |
| 16666 | + | |
16666 | 16667 | | |
16667 | 16668 | | |
16668 | 16669 | | |
| |||
16671 | 16672 | | |
16672 | 16673 | | |
16673 | 16674 | | |
| 16675 | + | |
| 16676 | + | |
16674 | 16677 | | |
16675 | 16678 | | |
16676 | 16679 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3969 | 3969 | | |
3970 | 3970 | | |
3971 | 3971 | | |
| 3972 | + | |
3972 | 3973 | | |
3973 | 3974 | | |
3974 | 3975 | | |
| |||
3977 | 3978 | | |
3978 | 3979 | | |
3979 | 3980 | | |
| 3981 | + | |
| 3982 | + | |
3980 | 3983 | | |
3981 | 3984 | | |
3982 | 3985 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| 46 | + | |
| 47 | + | |
45 | 48 | | |
46 | 49 | | |
47 | 50 | | |
| |||
0 commit comments