Searched refs:new_timestamp (Results 1 – 2 of 2) sorted by relevance
44 bool CompensateForWrapAround(uint32_t new_timestamp, in CompensateForWrapAround() argument48 int64_t wraps = CheckForWrapArounds(new_timestamp, old_timestamp); in CompensateForWrapAround()53 *compensated_timestamp = new_timestamp + (wraps << 32); in CompensateForWrapAround()133 int CheckForWrapArounds(uint32_t new_timestamp, uint32_t old_timestamp) { in CheckForWrapArounds() argument134 if (new_timestamp < old_timestamp) { in CheckForWrapArounds()138 if (static_cast<int32_t>(new_timestamp - old_timestamp) > 0) { in CheckForWrapArounds()142 } else if (static_cast<int32_t>(old_timestamp - new_timestamp) > 0) { in CheckForWrapArounds()
102 new_timestamp = time.localtime(timestamp_secs - 1)104 (time.strftime(self.LOG_TIMESTAMP_FORMAT, new_timestamp))