| 66 | struct phc_time_res { |
| 67 | int64_t ts; // last ts got from PHC |
| 68 | int64_t delay; // mean delay of several requests |
| 69 | }; |
| 70 | |
| 71 | static inline uint64_t fbclock_clockdata_crc(fbclock_clockdata* value) { |
| 72 | uint64_t counter = fbclock_crc64(0xFFFFFFFF, value->ingress_time_ns); |
| 73 | counter = fbclock_crc64(counter, value->error_bound_ns); |
| 74 | counter = fbclock_crc64(counter, value->holdover_multiplier_ns); |
| 75 | return counter ^ 0xFFFFFFFF; |
| 76 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…