Go to the documentation of this file.
7 #include <linux/module.h>
8 #include <linux/sched.h>
31 :
"=&r" (tmp),
"=r" (loops) :
"1"(loops));
35 #define LPJ cpu_data[smp_processor_id()].loops_per_jiffy
37 #define LPJ loops_per_jiffy
43 usecs *= (((
unsigned long)
HZ << 32) / 1000000) *
LPJ;
51 nsecs *= (((
unsigned long)
HZ << 32) / 1000000000) *
LPJ;