Searched refs:tsc_now (Results 1 - 4 of 4) sorted by relevance
/linux-master/drivers/thermal/intel/ |
H A D | intel_powerclamp.c | 434 u64 msr_now, tsc_now; local 439 tsc_now = rdtsc(); 444 else if (tsc_now-tsc_last) { 446 do_div(val64, (tsc_now-tsc_last)); 452 tsc_last = tsc_now; 504 u64 tsc_now; local 508 tsc_now = rdtsc(); 514 if (tsc_now - tsc_last) { 516 do_div(val64, (tsc_now - tsc_last)); 523 tsc_last = tsc_now; [all...] |
/linux-master/arch/x86/kernel/ |
H A D | tsc.c | 144 static void __set_cyc2ns_scale(unsigned long khz, int cpu, unsigned long long tsc_now) argument 150 ns_now = cycles_2_ns(tsc_now); 172 mul_u64_u32_shr(tsc_now, data.cyc2ns_mul, data.cyc2ns_shift); 182 static void set_cyc2ns_scale(unsigned long khz, int cpu, unsigned long long tsc_now) argument 190 __set_cyc2ns_scale(khz, cpu, tsc_now); 234 u64 tsc_now = rdtsc(); local 237 return __cycles_2_ns(tsc_now);
|
/linux-master/arch/x86/kernel/cpu/ |
H A D | vmware.c | 159 unsigned long long tsc_now = rdtsc(); local 163 d->cyc2ns_offset = mul_u64_u32_shr(tsc_now, d->cyc2ns_mul,
|
/linux-master/arch/x86/kernel/apic/ |
H A D | apic.c | 843 u64 tsc_now = rdtsc(); local 844 if ((tsc_now - tsc_start) >= tsc_perj) {
|
Completed in 112 milliseconds