/kernel/linux/linux-5.10/tools/power/cpupower/bench/ |
H A D | benchmark.c | 35 long long now, then; in calculate_timespace() local 46 then = get_time(); in calculate_timespace() 48 timed = (unsigned int)(then - now); in calculate_timespace() 57 then = get_time(); in calculate_timespace() 59 timed = (unsigned int)(then - now); in calculate_timespace() 81 long long now, then; in start_benchmark() local 129 then = get_time(); in start_benchmark() 130 performance_time += then - now - sleep_time; in start_benchmark() 135 (long)(then - now), sleep_time, in start_benchmark() 155 then in start_benchmark() [all...] |
/kernel/linux/linux-6.6/tools/power/cpupower/bench/ |
H A D | benchmark.c | 35 long long now, then; in calculate_timespace() local 46 then = get_time(); in calculate_timespace() 48 timed = (unsigned int)(then - now); in calculate_timespace() 57 then = get_time(); in calculate_timespace() 59 timed = (unsigned int)(then - now); in calculate_timespace() 81 long long now, then; in start_benchmark() local 129 then = get_time(); in start_benchmark() 130 performance_time += then - now - sleep_time; in start_benchmark() 135 (long)(then - now), sleep_time, in start_benchmark() 155 then in start_benchmark() [all...] |
/kernel/linux/linux-5.10/tools/power/cpupower/debug/kernel/ |
H A D | cpufreq-test_tsc.c | 56 u32 now, then, diff; in cpufreq_test_tsc() local 84 then = read_pmtmr(); in cpufreq_test_tsc() 90 diff = (now - then) & 0xFFFFFF; in cpufreq_test_tsc() 92 printk(KERN_DEBUG "t1: %08u t2: %08u diff_pmtmr: %08u diff_tsc: %016llu\n", then, now, diff, diff_tsc); in cpufreq_test_tsc() 93 then = now; in cpufreq_test_tsc()
|
/kernel/linux/linux-6.6/tools/power/cpupower/debug/kernel/ |
H A D | cpufreq-test_tsc.c | 56 u32 now, then, diff; in cpufreq_test_tsc() local 84 then = read_pmtmr(); in cpufreq_test_tsc() 90 diff = (now - then) & 0xFFFFFF; in cpufreq_test_tsc() 92 printk(KERN_DEBUG "t1: %08u t2: %08u diff_pmtmr: %08u diff_tsc: %016llu\n", then, now, diff, diff_tsc); in cpufreq_test_tsc() 93 then = now; in cpufreq_test_tsc()
|
/kernel/linux/linux-5.10/tools/testing/selftests/timers/ |
H A D | inconsistency-check.c | 98 long now, then; in consistency_test() local 103 now = then = list[0].tv_sec; in consistency_test() 109 while (seconds == -1 || now - then < seconds) { in consistency_test()
|
/kernel/linux/linux-6.6/tools/testing/selftests/timers/ |
H A D | inconsistency-check.c | 98 long now, then; in consistency_test() local 103 now = then = list[0].tv_sec; in consistency_test() 109 while (seconds == -1 || now - then < seconds) { in consistency_test()
|
/kernel/linux/linux-5.10/drivers/media/pci/ivtv/ |
H A D | ivtv-mailbox.c | 136 /* if the mailbox is free, then try to claim it */ in try_mailbox() 148 unsigned long then = jiffies; in get_mailbox() local 167 then + msecs_to_jiffies(10*retries))) in get_mailbox() 206 unsigned long then; in ivtv_api_call() local 231 data, then just return 0 as there is no need to issue this command again. in ivtv_api_call() 281 then = jiffies; in ivtv_api_call() 284 /* First try to poll, then switch to delays */ in ivtv_api_call() 291 if (time_after(jiffies, then + api_timeout)) { in ivtv_api_call() 303 if (time_after(jiffies, then + msecs_to_jiffies(100))) in ivtv_api_call() 306 jiffies_to_msecs(jiffies - then)); in ivtv_api_call() [all...] |
/kernel/linux/linux-6.6/drivers/media/pci/ivtv/ |
H A D | ivtv-mailbox.c | 136 /* if the mailbox is free, then try to claim it */ in try_mailbox() 148 unsigned long then = jiffies; in get_mailbox() local 167 then + msecs_to_jiffies(10*retries))) in get_mailbox() 206 unsigned long then; in ivtv_api_call() local 231 data, then just return 0 as there is no need to issue this command again. in ivtv_api_call() 281 then = jiffies; in ivtv_api_call() 284 /* First try to poll, then switch to delays */ in ivtv_api_call() 291 if (time_after(jiffies, then + api_timeout)) { in ivtv_api_call() 303 if (time_after(jiffies, then + msecs_to_jiffies(100))) in ivtv_api_call() 306 jiffies_to_msecs(jiffies - then)); in ivtv_api_call() [all...] |
/kernel/linux/linux-5.10/arch/m68k/fpsp040/ |
H A D | get_op.S | 33 | and the instruction is then restored back into the '040. The 34 | '040 is then able to complete the instruction. 40 | then an frestore is done to restore the instruction back into 41 | the '040. The '040 then re-executes the fadd.x fpm,fpn with 50 | norm. The instruction is then restored back into the '040 227 beqs src_op_ck |if denorm then check source op. 257 beq end_getop |if denorm then exit, denorms are 361 beqs set_mon |if bit 5 = 0 then monadic 363 beqs set_dya |if bit 4 = 0 then dyadic 365 cmpiw #0x0038,%d0 |if extension = $38 then fcm [all...] |
H A D | round.S | 46 | If g=r=s=0 then result is exact and round is done, else set 78 | If sign of fp number = 0 (positive), then add 1 to l. 83 bmi truncate |if positive then truncate 91 | If sign of fp number = 1 (negative), then add 1 to l. 96 bpl truncate |if negative then truncate 112 | If (g=1), then add 1 to l and if (r=s=0), then clear l 118 bcc truncate |if (g=1) then 319 bmis greater |then exp will go past 0 (neg) if 330 lsrl %d5,%d6 |by the number in the exp, then [all...] |
H A D | x_ovfl.S | 14 | If the instruction is move_out, then garbage is stored in the 15 | destination. If the instruction is not move_out, then the
|
H A D | sto_res.S | 6 | users destination register then fp0 is moved to the 8 | are then restored to the original contents.
|
H A D | sgetem.S | 90 | then load the exponent with +/1 $3fff. 112 bnes upper |then branch 115 bnes cont |if set then continue
|
/kernel/linux/linux-6.6/arch/m68k/fpsp040/ |
H A D | get_op.S | 33 | and the instruction is then restored back into the '040. The 34 | '040 is then able to complete the instruction. 40 | then an frestore is done to restore the instruction back into 41 | the '040. The '040 then re-executes the fadd.x fpm,fpn with 50 | norm. The instruction is then restored back into the '040 227 beqs src_op_ck |if denorm then check source op. 257 beq end_getop |if denorm then exit, denorms are 361 beqs set_mon |if bit 5 = 0 then monadic 363 beqs set_dya |if bit 4 = 0 then dyadic 365 cmpiw #0x0038,%d0 |if extension = $38 then fcm [all...] |
H A D | round.S | 46 | If g=r=s=0 then result is exact and round is done, else set 78 | If sign of fp number = 0 (positive), then add 1 to l. 83 bmi truncate |if positive then truncate 91 | If sign of fp number = 1 (negative), then add 1 to l. 96 bpl truncate |if negative then truncate 112 | If (g=1), then add 1 to l and if (r=s=0), then clear l 118 bcc truncate |if (g=1) then 319 bmis greater |then exp will go past 0 (neg) if 330 lsrl %d5,%d6 |by the number in the exp, then [all...] |
H A D | x_ovfl.S | 14 | If the instruction is move_out, then garbage is stored in the 15 | destination. If the instruction is not move_out, then the
|
H A D | sto_res.S | 6 | users destination register then fp0 is moved to the 8 | are then restored to the original contents.
|
H A D | sgetem.S | 90 | then load the exponent with +/1 $3fff. 112 bnes upper |then branch 115 bnes cont |if set then continue
|
/kernel/linux/linux-5.10/arch/arm/include/debug/ |
H A D | sa1100.S | 32 @ if Ser3 is inactive, then try Ser1 37 @ if Ser1 is inactive, then try Ser2
|
/kernel/linux/linux-6.6/arch/arm/include/debug/ |
H A D | sa1100.S | 32 @ if Ser3 is inactive, then try Ser1 37 @ if Ser1 is inactive, then try Ser2
|
/kernel/linux/linux-6.6/tools/testing/selftests/riscv/hwprobe/ |
H A D | sys_hwprobe.S | 7 # Put __NR_riscv_hwprobe in the syscall number register, then just shim
|
/kernel/linux/linux-5.10/arch/arm/lib/ |
H A D | div64.S | 116 @ Otherwise, if lower part is also null then we are done. 141 @ If no bit position left then we are done. 148 @ then simply shift values around
|
/kernel/linux/linux-6.6/arch/arm/lib/ |
H A D | div64.S | 116 @ Otherwise, if lower part is also null then we are done. 141 @ If no bit position left then we are done. 148 @ then simply shift values around
|
/kernel/linux/linux-5.10/arch/m68k/ifpsp060/ |
H A D | iskeleton.S | 86 | and the operand was out of bounds, then _isp_unimp() creates 121 | integer divide where the source operand is a zero, then the _isp_unimp() 127 | then it create a Trace exception stack frame from the "chk" exception 163 | then this routine simply re-enters the package through _isp_cas. 174 | then this routine simply re-enters the package through _isp_cas2.
|
/kernel/linux/linux-6.6/arch/m68k/ifpsp060/ |
H A D | iskeleton.S | 86 | and the operand was out of bounds, then _isp_unimp() creates 121 | integer divide where the source operand is a zero, then the _isp_unimp() 127 | then it create a Trace exception stack frame from the "chk" exception 163 | then this routine simply re-enters the package through _isp_cas. 174 | then this routine simply re-enters the package through _isp_cas2.
|