MCPcopy Create free account
hub / github.com/facebook/time / fbclock_gettime

Function fbclock_gettime

fbclock/fbclock.c:559–564  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

557 uint64_t wou_ns =
558 fbclock_window_of_uncertainty(seconds, error_bound_ns, h_value_ns);
559 truetime->earliest_ns = phc_at_ts_ns - wou_ns;
560 truetime->latest_ns = phc_at_ts_ns + wou_ns;
561 return FBCLOCK_E_NO_ERROR;
562}
563
564int fbclock_gettime_tz(
565 fbclock_lib* lib,
566 fbclock_truetime* truetime,
567 int time_standard) {

Callers 1

mainFunction · 0.85

Calls 2

fbclock_gettime_tz_v2Function · 0.85
fbclock_gettime_tzFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…