Searched refs:end_clock (Results 1 – 2 of 2) sorted by relevance
14 , const timespec end_clock) in intervalInMSec() argument17 if ((end_clock.tv_nsec - start_clock.tv_nsec) < 0) { in intervalInMSec()18 duration_clock = (end_clock.tv_sec - start_clock.tv_sec-1)*1000; in intervalInMSec()19 duration_clock += (1000000000 + end_clock.tv_nsec - start_clock.tv_nsec) in intervalInMSec()22 duration_clock = (end_clock.tv_sec - start_clock.tv_sec)*1000; in intervalInMSec()23 duration_clock += (end_clock.tv_nsec - start_clock.tv_nsec) / 1000000.0; in intervalInMSec()
37 , const time_value_t end_clock) in intervalInMSec() argument40 if ((end_clock.microseconds - start_clock.microseconds) < 0) { in intervalInMSec()41 duration_clock = (end_clock.seconds - start_clock.seconds-1)*1000; in intervalInMSec()43 + end_clock.microseconds in intervalInMSec()46 duration_clock = (end_clock.seconds - start_clock.seconds)*1000; in intervalInMSec()47 duration_clock += (end_clock.microseconds - start_clock.microseconds) in intervalInMSec()