diff options
author | Dirk Brandewie <[email protected]> | 2013-05-07 08:20:25 -0700 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2013-05-12 14:04:16 +0200 |
commit | 1abc4b20b85b42e8573957e54b193385cf48b0d6 (patch) | |
tree | fae8b7b36dd913c05ee2e2c7fadb4308f7b4295f /fs/jbd2/commit.c | |
parent | 559f56c70fc90bd9da8c9c9c36d86c5e582ac5b3 (diff) |
cpufreq / intel_pstate: remove idle time and duration from sample and calculations
Idle time is taken into account in the APERF/MPERF ratio calculation
there is no reason for the driver to track it seperately. This
reduces the work in the driver and makes the code more readable.
Removal of the tracking of sample duration removes the possibility of
the divide by zero exception when the duration is sub 1us
References: https://bugzilla.kernel.org/show_bug.cgi?id=56691
Reported-by: Mike Lothian <[email protected]>
Cc: 3.9+ <[email protected]>
Signed-off-by: Dirk Brandewie <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions