diff options
author | Venkatesh Pallipadi <venki@google.com> | 2010-04-23 03:48:33 +0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2010-05-28 23:00:55 +0400 |
commit | 2da513f582a96c053aacc2c92873978d2ea7abff (patch) | |
tree | 57e9d73800950668523cb0b9117d7dbc168e1580 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 34a18d6fe5430184e4ca96eeb074ee671d89fe7b (diff) | |
download | linux-2da513f582a96c053aacc2c92873978d2ea7abff.tar.xz |
ACPI: Minor cleanup eliminating redundant PMTIMER_TICKS to NS conversion
acpi_enter_[simple,bm] does
idle timing in ns, convert it to timeval, then to us, then to
pmtimer_ticks and then back to ns.
This patch changes things to
idle timing in ns, convert it to us, and then to pmtimer_ticks.
Just saves an imul along this path, but makes the code cleaner.
Signed-off-by: Venkatesh Pallipadi <venki@google.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions