diff options
author | John M. Calandrino <jmc@jupiter-cs.cs.unc.edu> | 2007-04-26 13:49:22 -0400 |
---|---|---|
committer | John M. Calandrino <jmc@jupiter-cs.cs.unc.edu> | 2007-04-26 13:49:22 -0400 |
commit | dbcc425afe9a3b8036262fe5591334c43b411b93 (patch) | |
tree | 866cbe57e2403fb96e59509ae9a4b1eda9c3338c /arch | |
parent | 673146bcae77ff95c9db9b42485be106a70f7dd4 (diff) |
Commented out timing measurement code after determining that things are
working okay.
Diffstat (limited to 'arch')
-rw-r--r-- | arch/i386/kernel/apic.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/i386/kernel/apic.c b/arch/i386/kernel/apic.c index 953b49d51a..f8c5f2abd2 100644 --- a/arch/i386/kernel/apic.c +++ b/arch/i386/kernel/apic.c | |||
@@ -1277,15 +1277,16 @@ void synchronize_quanta(void) | |||
1277 | 1277 | ||
1278 | inline void smp_local_timer_interrupt(void) | 1278 | inline void smp_local_timer_interrupt(void) |
1279 | { | 1279 | { |
1280 | /* s64 offset; */ | ||
1281 | |||
1280 | profile_tick(CPU_PROFILING); | 1282 | profile_tick(CPU_PROFILING); |
1281 | #ifdef CONFIG_SMP | 1283 | #ifdef CONFIG_SMP |
1282 | update_process_times(user_mode_vm(get_irq_regs())); | 1284 | update_process_times(user_mode_vm(get_irq_regs())); |
1283 | #endif | 1285 | #endif |
1284 | 1286 | ||
1285 | /* Print out timing data - comment out if unneeded. */ | 1287 | /* Print out timing data - can be commented out if necessary. */ |
1286 | s64 offset = get_nsec_offset(); | 1288 | /* offset = get_nsec_offset(); */ |
1287 | int cpu = smp_processor_id(); | 1289 | /* TRACE("%d\n", offset); */ |
1288 | sched_trace_log_message("%d %d\n", cpu, offset); | ||
1289 | 1290 | ||
1290 | /* | 1291 | /* |
1291 | * Synchronize quanta if we have reached qsync_time plus wait | 1292 | * Synchronize quanta if we have reached qsync_time plus wait |