Home
last modified time | relevance | path

Searched refs:time2 (Results 1 – 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/lib/
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 = get_cycles(); in rbtree_test_init()
[all …]
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/liteos_m/testsuites/unittest/posix/src/time/
Dtime_func_test_01.c97 struct timespec time2 = { 0, 0 }; in KeepRun() local
104 clock_gettime(CLOCK_MONOTONIC, &time2); in KeepRun()
105 ran = (time2.tv_sec - time1.tv_sec) * MILLISECONDS_PER_SECOND; in KeepRun()
106 ran += (time2.tv_nsec - time1.tv_nsec) / NANOSECONDS_PER_MILLISECOND; in KeepRun()
109 LOG("KeepRun end : tv_sec=%ld, tv_nsec=%ld\n", time2.tv_sec, time2.tv_nsec); in KeepRun()
149 struct timespec time1 = { 0 }, time2 = { 0 }; variable
155 clock_gettime(CLOCK_MONOTONIC, &time2);
157 … duration = (time2.tv_sec - time1.tv_sec) * 1000000 + (time2.tv_nsec - time1.tv_nsec) / 1000;
177 struct timespec time2 = { 0 }; variable
180 clock_gettime(CLOCK_MONOTONIC, &time2);
[all …]
/kernel/linux/linux-5.10/drivers/ide/
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/crypto/
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-5.10/drivers/rtc/
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()
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()
Drtc-wm8350.c34 u16 time1[4], time2[4]; in wm8350_rtc_readtime() local
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/
Dusbpipe.h30 u16 time2; member
/kernel/linux/linux-5.10/drivers/net/hamradio/
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/liteos_a/compat/posix/src/
Dtime.c1061 double difftime(time_t time2, time_t time1) in difftime() argument
1063 return (double)(time2 - time1); in difftime()
/kernel/linux/linux-5.10/tools/power/pm-graph/
Dsleepgraph.py4756 .time2 {font:15px Arial;border-bottom:1px solid;border-left:1px solid;border-right:1px solid;}\n\