hotspot
hotspot copied to clipboard
CPU usage timeline
Having a CPU usage overview graph/timeline would be useful, to quickly see when the application is busy. The selection/zooming should probably be synchronized with the events timeline from https://github.com/KDAB/hotspot/issues/7
this should be per-core, which requires patching of perfparser to forward that data for the sample (m_sampleId.cpu()
is currently not even forwarded in PerfRecord)
It should also be based on the scheduler tracepoints (i.e. perf record --switch-events
).
we have a per-CPU event timeline now, which is not directly equivalent to a CPU usage timeline, but close enough for most purposes. I'll keep this open to get proper CPU usage displayed there, similar to what VTune etc. do.
Is the
new frequency page that shows how often certain events got measured, which can also indicate the CPU frequency scaling when
cycles
are measured
distributed with 1.4 enough or do you plan to add something to the timeline directly?
indeed, I think we can close this now