Home
last modified time | relevance | path

Searched refs:us_ (Results 1 – 2 of 2) sorted by relevance

/external/v8/src/base/platform/
Dtime.h176 Time() : us_(0) {} in Time()
179 bool IsNull() const { return us_ == 0; } in IsNull()
182 bool IsMax() const { return us_ == std::numeric_limits<int64_t>::max(); } in IsMax()
208 return us_; in ToInternalValue()
229 us_ = other.us_;
235 return TimeDelta::FromMicroseconds(us_ - other.us_);
240 us_ += delta.InMicroseconds();
244 us_ -= delta.InMicroseconds();
250 return Time(us_ + delta.InMicroseconds());
253 return Time(us_ - delta.InMicroseconds());
[all …]
Dtime.cc233 DCHECK(us_ >= 0); in ToFiletime()
245 uint64_t us = static_cast<uint64_t>(us_ + kTimeToEpochInMicroseconds) * 10; in ToFiletime()
294 ts.tv_sec = us_ / kMicrosecondsPerSecond; in ToTimespec()
295 ts.tv_nsec = (us_ % kMicrosecondsPerSecond) * kNanosecondsPerMicrosecond; in ToTimespec()
326 tv.tv_sec = us_ / kMicrosecondsPerSecond; in ToTimeval()
327 tv.tv_usec = us_ % kMicrosecondsPerSecond; in ToTimeval()
354 return static_cast<double>(us_) / kMicrosecondsPerMillisecond; in ToJsTime()