Messages in this thread | | | Subject | Re: [PATCHSET 0/6] perf sched timehist: Introduce --idle-hist option (v2) | From | David Ahern <> | Date | Mon, 12 Dec 2016 10:37:30 -0700 |
| |
On 12/12/16 10:26 AM, Namhyung Kim wrote: > Do you mean adding an elapsed time so that it can see the cpu utilization (or > something similar)? Then we need to expose the elapsed time during record or > maybe just use time difference between first and last sample?
I was thinking tstart = time of first sample analyzed, tend = time of last sample analyzed, dt = tend - tstart.
If the analysis window (dt) is 5 seconds and each cpu is idle for 0.1 seconds of that 5 second window then the system is under high load.
| |