diff options
| author | 2022-02-23 22:05:25 +0000 | |
|---|---|---|
| committer | 2022-03-02 10:56:25 +0000 | |
| commit | b829a311f35e533ae47b72dd396ab70af3405e3f (patch) | |
| tree | ac5155e4d4be5aa6f52cebf9a71fa66f90843086 /libs/gui/BLASTBufferQueue.cpp | |
| parent | 1648aa42cf7c2dd127ca886e4916a4db1af240e9 (diff) | |
GpuWork: fix gpu_work_period tracepoint
The tracepoint design was too fine-grained, too complex, and was missing
a gpu_id field.
- Fix the gpu_work_period tracepoint struct:
- More coarse-grained.
- Add gpu_id field.
- Remove frequency and other fields.
- Update the documentation comment, adding more detail.
- Update the eBPF program and map structs to account for the tracepoint
changes.
- Aggregate the `total_active_duration_ns` and
`total_inactive_duration_ns`.
- Collect data for each (gpu_id, uid) pair.
- Update GpuWork class to account for the tracepoint changes.
- Remove references to "frequency"; we now collect "gpu work".
- Rework dumping code; dump active and inactive time.
- Rework stats upload:
- Log active and inactive time.
- Log per (gpu_id, uid) pair.
- Reduce the amount logged if we observe a large number of GPUs.
- Remove UIDs with a very low GPU time.
Bug: b/221096545
Change-Id: I33d1c55f886913dad7b563e7b9a25cc1af0308f2
Diffstat (limited to 'libs/gui/BLASTBufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions