Home | History | Annotate | Download | only in profiler

Lines Matching full:duration

15 Duration::Duration() : ms_(0) {}
16 Duration::Duration(int32 duration) : ms_(duration) {}
18 Duration& Duration::operator+=(const Duration& other) {
23 Duration Duration::operator+(const Duration& other) const {
24 return Duration(ms_ + other.ms_);
27 bool Duration::operator==(const Duration& other) const {
31 bool Duration::operator!=(const Duration& other) const {
35 bool Duration::operator>(const Duration& other) const {
40 Duration Duration::FromMilliseconds(int ms) { return Duration(ms); }
42 int32 Duration::InMilliseconds() const { return ms_; }
65 Duration TrackedTime::operator-(const TrackedTime& other) const {
66 return Duration(ms_ - other.ms_);
69 TrackedTime TrackedTime::operator+(const Duration& other) const {