hotspot icon indicating copy to clipboard operation
hotspot copied to clipboard

CPU usage timeline

Open tmcguire opened this issue 7 years ago • 3 comments

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

tmcguire avatar Jan 25 '17 09:01 tmcguire

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)

milianw avatar Jun 04 '17 00:06 milianw

It should also be based on the scheduler tracepoints (i.e. perf record --switch-events).

milianw avatar Sep 21 '17 16:09 milianw

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.

milianw avatar Jan 18 '18 11:01 milianw

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?

GitMensch avatar Dec 02 '22 22:12 GitMensch

indeed, I think we can close this now

milianw avatar Dec 03 '22 15:12 milianw