Message ID | 1286406919-6236-1-git-send-email-snanda@chromium.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c index c0fed2e..f0588fa 100644 --- a/drivers/acpi/sleep.c +++ b/drivers/acpi/sleep.c @@ -214,6 +214,7 @@ static int acpi_suspend_enter(suspend_state_t pm_state) acpi_status status = AE_OK; unsigned long flags = 0; u32 acpi_state = acpi_target_sleep_state; + u64 tsc; ACPI_FLUSH_CPU_CACHE(); @@ -235,6 +236,9 @@ static int acpi_suspend_enter(suspend_state_t pm_state) case ACPI_STATE_S3: do_suspend_lowlevel(); + rdtscll(tsc); + printk(KERN_INFO "TSC at resume: %llu\n", + (unsigned long long)tsc); break; }