MCPcopy Create free account
hub / github.com/HandBrake/HandBrake / hb_clock_gettime

Function hb_clock_gettime

libhb/ports.c:1187–1194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1185}
1186
1187void hb_clock_gettime( struct timespec *tp )
1188{
1189 struct timeval tv;
1190
1191 gettimeofday( &tv, NULL );
1192 tp->tv_sec = tv.tv_sec;
1193 tp->tv_nsec = tv.tv_usec * 1000;
1194}
1195
1196void hb_yield(void)
1197{

Callers 1

hb_cond_timedwaitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected