diff options
author | John M. Calandrino <jmc@jupiter-cs.cs.unc.edu> | 2007-04-26 12:58:13 -0400 |
---|---|---|
committer | John M. Calandrino <jmc@jupiter-cs.cs.unc.edu> | 2007-04-26 12:58:13 -0400 |
commit | 673146bcae77ff95c9db9b42485be106a70f7dd4 (patch) | |
tree | e029d571c1c9b75e1952aaa138c96be8b3ae6754 /arch/i386 | |
parent | ac6d4bcecb73712b0eeeabd6acb0ac2465aa39dd (diff) |
Added some quantum alignment measurement capabilities, so that alignments
could be re-validated after some changes.
Diffstat (limited to 'arch/i386')
-rw-r--r-- | arch/i386/kernel/apic.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/i386/kernel/apic.c b/arch/i386/kernel/apic.c index dcf104b42c..953b49d51a 100644 --- a/arch/i386/kernel/apic.c +++ b/arch/i386/kernel/apic.c | |||
@@ -1282,6 +1282,11 @@ inline void smp_local_timer_interrupt(void) | |||
1282 | update_process_times(user_mode_vm(get_irq_regs())); | 1282 | update_process_times(user_mode_vm(get_irq_regs())); |
1283 | #endif | 1283 | #endif |
1284 | 1284 | ||
1285 | /* Print out timing data - comment out if unneeded. */ | ||
1286 | s64 offset = get_nsec_offset(); | ||
1287 | int cpu = smp_processor_id(); | ||
1288 | sched_trace_log_message("%d %d\n", cpu, offset); | ||
1289 | |||
1285 | /* | 1290 | /* |
1286 | * Synchronize quanta if we have reached qsync_time plus wait | 1291 | * Synchronize quanta if we have reached qsync_time plus wait |
1287 | * interval. The synchronization code itself is placed in its own | 1292 | * interval. The synchronization code itself is placed in its own |