aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorVenkatesh Pallipadi <venki@google.com>2010-06-02 10:01:09 -0700
committerLen Brown <len.brown@intel.com>2010-06-04 15:22:28 -0400
commitbceefad59ab66d1b1a815a1738744ea013da966e (patch)
tree4cd5406c4cf77ac93bcf4fc764105be938628d51 /tools/perf/scripts/python/sctop.py
parentACPI: Fix the incorrect calculation about C-state idle time (diff)
downloadlinux-dev-bceefad59ab66d1b1a815a1738744ea013da966e.tar.xz
linux-dev-bceefad59ab66d1b1a815a1738744ea013da966e.zip
ACPI: Eliminate us to pm ticks conversion in common path
acpi_enter_[simple|bm] routines does us to pm tick conversion on every idle wakeup and the value is only used in /proc/acpi display. We can store the time in us and convert it into pm ticks before printing instead and avoid the conversion in the common path. Signed-off-by: Venkatesh Pallipadi <venki@google.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions