Home
last modified time | relevance | path

Searched refs:delta_us (Results 1 – 15 of 15) sorted by relevance

/external/ltp/testcases/realtime/func/pi-tests/
Dtestpi-7.c224 int delta_us; in high_prio_rt_thread() local
246 delta_us = (now - start) / NS_PER_US; in high_prio_rt_thread()
247 if (delta_us > max_delay_us) in high_prio_rt_thread()
248 max_delay_us = delta_us; in high_prio_rt_thread()
249 debug(DBG_WARN, "high prio delay time: %d us\n", delta_us); in high_prio_rt_thread()
250 delta_us = (now - low_drop_time) / NS_PER_US; in high_prio_rt_thread()
251 if (delta_us > max_drop2grab_us) in high_prio_rt_thread()
252 max_drop2grab_us = delta_us; in high_prio_rt_thread()
254 delta_us); in high_prio_rt_thread()
/external/ltp/testcases/realtime/func/hrtimer-prio/
Dhrtimer-prio.c130 unsigned long delta_us; in timer_thread() local
140 delta_us = in timer_thread()
143 rec.y = delta_us; in timer_thread()
145 max_delta = MAX(max_delta, delta_us); in timer_thread()
146 min_delta = (i == 0) ? delta_us : MIN(min_delta, delta_us); in timer_thread()
/external/u-boot/test/
Dtime_ut.c81 ulong start_us, end_us, delta_us; in test_time_comparison() local
90 delta_us = end_us - start_us; in test_time_comparison()
91 error = delta_us - 1000000; in test_time_comparison()
93 __func__, delta_us, error); in test_time_comparison()
/external/linux-kselftest/tools/testing/selftests/networking/timestamping/
Dtimestamping.c480 long delta_us; in main() local
485 delta_us = (long)(next.tv_sec - now.tv_sec) * 1000000 + in main()
487 if (delta_us > 0) { in main()
489 delta.tv_sec = delta_us / 1000000; in main()
490 delta.tv_usec = delta_us % 1000000; in main()
498 delta_us); in main()
/external/bcc/tools/
Dxfsslower.py273 event.offset, event.delta_us, event.file))
277 float(event.delta_us) / 1000, event.file))
Dnfsslower.py279 event.offset, event.delta_us, event.file))
288 float(event.delta_us) / 1000,
Dbtrfsslower.py320 type, event.size, event.offset, event.delta_us,
325 event.offset / 1024, float(event.delta_us) / 1000,
Dzfsslower.py269 type, event.size, event.offset, event.delta_us,
274 event.offset / 1024, float(event.delta_us) / 1000,
Dext4slower.py318 type, event.size, event.offset, event.delta_us,
323 event.offset / 1024, float(event.delta_us) / 1000,
Dtcpconnlat.py243 float(event.delta_us) / 1000))
255 event.dport, float(event.delta_us) / 1000))
Drunqslower.py242 print("%-8s %-16s %-6s %14s" % (strftime("%H:%M:%S"), event.task, event.pid, event.delta_us))
Dfileslower.py242 ms = float(event.delta_us) / 1000
/external/libchrome/base/time/
Dtime.h298 constexpr explicit TimeDelta(int64_t delta_us) : delta_(delta_us) {} in TimeDelta() argument
/external/python/cpython2/Modules/
Ddatetimemodule.c4131 int delta_d, delta_s, delta_us; in datetime_subtract() local
4160 delta_us = DATE_GET_MICROSECOND(left) - in datetime_subtract()
4166 result = new_delta(delta_d, delta_s, delta_us, 1); in datetime_subtract()
/external/python/cpython3/Modules/
D_datetimemodule.c5189 int delta_d, delta_s, delta_us; in datetime_subtract() local
5241 delta_us = DATE_GET_MICROSECOND(left) - in datetime_subtract()
5243 result = new_delta(delta_d, delta_s, delta_us, 1); in datetime_subtract()