Searched refs:scale_ (Results 1 – 1 of 1) sorted by relevance
29 scale_(scale), truncated_(false) { in TimeDifference()32 if (scale_ == kNanosecondsPerSecond) { in TimeDifference()39 scale_(scale), truncated_(false) { in TimeDifference()41 if (scale_ == kNanosecondsPerSecond) { in TimeDifference()44 } else if ((in.scale_ % scale_) == 0) { in TimeDifference()51 ts_(in), scale_(scale), truncated_(false) { } in TimeDifference()72 return TimeDifference(ret, scale_ < other.scale_ ? scale_: other.scale_);82 return TimeDifference(ret, scale_ < other.scale_ ? scale_: other.scale_);91 return ts_.tv_sec * (kNanosecondsPerSecond / scale_) + ts_.tv_nsec / scale_; in count()100 truncated_ns_ = (ts_.tv_nsec / scale_) * scale_; in subseconds_in_ns()[all …]