Home
last modified time | relevance | path

Searched refs:time2 (Results 1 - 22 of 22) sorted by relevance

/kernel/linux/linux-5.10/lib/
H A Drbtree_test.c245 cycles_t time1, time2, time; in rbtree_test_init() local
266 time2 = get_cycles(); in rbtree_test_init()
267 time = time2 - time1; in rbtree_test_init()
282 time2 = get_cycles(); in rbtree_test_init()
283 time = time2 - time1; in rbtree_test_init()
299 time2 = get_cycles(); in rbtree_test_init()
300 time = time2 - time1; in rbtree_test_init()
311 time2 = get_cycles(); in rbtree_test_init()
312 time = time2 - time1; in rbtree_test_init()
323 time2 in rbtree_test_init()
[all...]
H A Dinterval_tree_test.c66 cycles_t time1, time2, time; in interval_tree_test_init() local
93 time2 = get_cycles(); in interval_tree_test_init()
94 time = time2 - time1; in interval_tree_test_init()
115 time2 = get_cycles(); in interval_tree_test_init()
116 time = time2 - time1; in interval_tree_test_init()
/kernel/linux/linux-6.6/lib/
H A Drbtree_test.c245 cycles_t time1, time2, time; in rbtree_test_init() local
266 time2 = get_cycles(); in rbtree_test_init()
267 time = time2 - time1; in rbtree_test_init()
282 time2 = get_cycles(); in rbtree_test_init()
283 time = time2 - time1; in rbtree_test_init()
299 time2 = get_cycles(); in rbtree_test_init()
300 time = time2 - time1; in rbtree_test_init()
311 time2 = get_cycles(); in rbtree_test_init()
312 time = time2 - time1; in rbtree_test_init()
323 time2 in rbtree_test_init()
[all...]
H A Dinterval_tree_test.c66 cycles_t time1, time2, time; in interval_tree_test_init() local
93 time2 = get_cycles(); in interval_tree_test_init()
94 time = time2 - time1; in interval_tree_test_init()
115 time2 = get_cycles(); in interval_tree_test_init()
116 time = time2 - time1; in interval_tree_test_init()
/kernel/linux/linux-6.6/tools/testing/selftests/syscall_user_dispatch/
H A Dsud_benchmark.c139 double time1, time2; in main() local
188 time2 = perf_syscall(); in main()
197 printf("Avg syscall time %.0lfns.\n", time2 * 1.0e9); in main()
199 100.0 * (time2 / time1 - 1.0), 1.0e9 * (time2 - time1)); in main()
/kernel/liteos_m/testsuites/unittest/posix/src/time/
H A Dtime_func_test_01.c102 struct timespec time2 = { 0, 0 }; in KeepRun() local
109 clock_gettime(CLOCK_MONOTONIC, &time2); in KeepRun()
110 ran = (time2.tv_sec - time1.tv_sec) * MILLISECONDS_PER_SECOND; in KeepRun()
111 ran += (time2.tv_nsec - time1.tv_nsec) / NANOSECONDS_PER_MILLISECOND; in KeepRun()
114 LOG("KeepRun end : tv_sec=%lld, tv_nsec=%ld\n", time2.tv_sec, time2.tv_nsec); in KeepRun()
154 struct timespec time1 = { 0 }, time2 = { 0 }; variable
160 clock_gettime(CLOCK_MONOTONIC, &time2);
162 duration = (time2.tv_sec - time1.tv_sec) * 1000000 + (time2
182 struct timespec time2 = { 0 }; global() variable
[all...]
/kernel/linux/linux-5.10/crypto/
H A Djitterentropy.c739 __u64 time2 = 0; in jent_entropy_init() local
748 jent_get_nstime(&time2); in jent_entropy_init()
751 if (!time || !time2) in jent_entropy_init()
753 delta = jent_delta(time, time2); in jent_entropy_init()
800 if (!(time2 > time)) in jent_entropy_init()
804 lowdelta = time2 - time; in jent_entropy_init()
/kernel/linux/linux-6.6/crypto/
H A Djitterentropy.c668 __u64 time2 = 0; in jent_entropy_init() local
677 jent_get_nstime(&time2); in jent_entropy_init()
680 if (!time || !time2) in jent_entropy_init()
682 delta = jent_delta(time, time2); in jent_entropy_init()
727 if (!(time2 > time)) in jent_entropy_init()
731 lowdelta = time2 - time; in jent_entropy_init()
/kernel/linux/linux-5.10/drivers/ide/
H A Dali14xx.c116 int time1, time2; in ali14xx_set_pio_mode() local
125 time2 = t->active; in ali14xx_set_pio_mode()
126 param3 = param1 = (time2 * bus_speed + 999) / 1000; in ali14xx_set_pio_mode()
133 drive->name, pio, time1, time2, param1, param2, param3, param4); in ali14xx_set_pio_mode()
/kernel/linux/linux-5.10/drivers/rtc/
H A Drtc-digicolor.c62 u32 reference, time1, time2; in dc_rtc_read() local
73 time2 = readl_relaxed(rtc->regs + DC_RTC_TIME); in dc_rtc_read()
74 if (time1 == time2) in dc_rtc_read()
76 time1 = time2; in dc_rtc_read()
H A Drtc-wm831x.c122 u16 time1[2], time2[2]; in wm831x_rtc_readtime() local
147 2, time2); in wm831x_rtc_readtime()
151 if (memcmp(time1, time2, sizeof(time1)) == 0) { in wm831x_rtc_readtime()
H A Drtc-wm8350.c34 u16 time1[4], time2[4]; in wm8350_rtc_readtime() local
39 * If time1 == time2, then time is valid else retry. in wm8350_rtc_readtime()
47 4, time2); in wm8350_rtc_readtime()
51 if (memcmp(time1, time2, sizeof(time1)) == 0) { in wm8350_rtc_readtime()
/kernel/linux/linux-6.6/drivers/rtc/
H A Drtc-digicolor.c62 u32 reference, time1, time2; in dc_rtc_read() local
73 time2 = readl_relaxed(rtc->regs + DC_RTC_TIME); in dc_rtc_read()
74 if (time1 == time2) in dc_rtc_read()
76 time1 = time2; in dc_rtc_read()
H A Drtc-wm831x.c122 u16 time1[2], time2[2]; in wm831x_rtc_readtime() local
147 2, time2); in wm831x_rtc_readtime()
151 if (memcmp(time1, time2, sizeof(time1)) == 0) { in wm831x_rtc_readtime()
H A Drtc-wm8350.c34 u16 time1[4], time2[4]; in wm8350_rtc_readtime() local
39 * If time1 == time2, then time is valid else retry. in wm8350_rtc_readtime()
47 4, time2); in wm8350_rtc_readtime()
51 if (memcmp(time1, time2, sizeof(time1)) == 0) { in wm8350_rtc_readtime()
/kernel/linux/linux-5.10/drivers/staging/vt6656/
H A Dusbpipe.h30 u16 time2; member
/kernel/linux/linux-6.6/drivers/staging/vt6656/
H A Dusbpipe.h28 u16 time2; member
/kernel/linux/linux-5.10/drivers/net/hamradio/
H A Dbaycom_epp.c644 unsigned int time1 = 0, time2 = 0, time3 = 0; in epp_bh() local
682 GETTICK(time2); in epp_bh()
709 GETTICK(time2); in epp_bh()
745 bc->debug_vals.mod_cycles = time2 - time1; in epp_bh()
746 bc->debug_vals.demod_cycles = time3 - time2; in epp_bh()
/kernel/linux/linux-6.6/drivers/net/hamradio/
H A Dbaycom_epp.c638 unsigned int time1 = 0, time2 = 0, time3 = 0; in epp_bh() local
676 GETTICK(time2); in epp_bh()
703 GETTICK(time2); in epp_bh()
739 bc->debug_vals.mod_cycles = time2 - time1; in epp_bh()
740 bc->debug_vals.demod_cycles = time3 - time2; in epp_bh()
/kernel/liteos_a/compat/posix/src/
H A Dtime.c1070 double difftime(time_t time2, time_t time1) in difftime() argument
1072 return (double)(time2 - time1); in difftime()
/kernel/linux/linux-5.10/tools/power/pm-graph/
H A Dsleepgraph.py4444 thtml = '<table class="time2">\n<tr>'
4756 .time2 {font:15px Arial;border-bottom:1px solid;border-left:1px solid;border-right:1px solid;}\n\
/kernel/linux/linux-6.6/tools/power/pm-graph/
H A Dsleepgraph.py4701 thtml = '<table class="time2">\n<tr>'
5010 .time2 {font:15px Arial;border-bottom:1px solid;border-left:1px solid;border-right:1px solid;}\n\

Completed in 31 milliseconds