Home
last modified time | relevance | path

Searched refs:duration_clock (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/third_party/skia/tools/timer/
DSysTimer_posix.cpp11 double duration_clock; in interval_in_ms() local
13 duration_clock = (end_clock.tv_sec - start_clock.tv_sec - 1) * 1000; in interval_in_ms()
14 duration_clock += (1000000000 + end_clock.tv_nsec - start_clock.tv_nsec) / 1000000.0; in interval_in_ms()
16 duration_clock = (end_clock.tv_sec - start_clock.tv_sec) * 1000; in interval_in_ms()
17 duration_clock += (end_clock.tv_nsec - start_clock.tv_nsec) / 1000000.0; in interval_in_ms()
19 return duration_clock; in interval_in_ms()
DSysTimer_mach.cpp31 double duration_clock; in interval_in_ms() local
33 duration_clock = (end_clock.seconds - start_clock.seconds-1) * 1000; in interval_in_ms()
34 duration_clock += (1000000 + end_clock.microseconds - start_clock.microseconds) / 1000.0; in interval_in_ms()
36 duration_clock = (end_clock.seconds - start_clock.seconds) * 1000; in interval_in_ms()
37 duration_clock += (end_clock.microseconds - start_clock.microseconds) / 1000.0; in interval_in_ms()
39 return duration_clock; in interval_in_ms()
/external/skia/tools/timer/
DSysTimer_posix.cpp11 double duration_clock; in interval_in_ms() local
13 duration_clock = (end_clock.tv_sec - start_clock.tv_sec - 1) * 1000; in interval_in_ms()
14 duration_clock += (1000000000 + end_clock.tv_nsec - start_clock.tv_nsec) / 1000000.0; in interval_in_ms()
16 duration_clock = (end_clock.tv_sec - start_clock.tv_sec) * 1000; in interval_in_ms()
17 duration_clock += (end_clock.tv_nsec - start_clock.tv_nsec) / 1000000.0; in interval_in_ms()
19 return duration_clock; in interval_in_ms()
DSysTimer_mach.cpp31 double duration_clock; in interval_in_ms() local
33 duration_clock = (end_clock.seconds - start_clock.seconds-1) * 1000; in interval_in_ms()
34 duration_clock += (1000000 + end_clock.microseconds - start_clock.microseconds) / 1000.0; in interval_in_ms()
36 duration_clock = (end_clock.seconds - start_clock.seconds) * 1000; in interval_in_ms()
37 duration_clock += (end_clock.microseconds - start_clock.microseconds) / 1000.0; in interval_in_ms()
39 return duration_clock; in interval_in_ms()