Home | History | Annotate | Download | only in base

Lines Matching defs:TimeTicks

13 // TimeTicks represents an abstract time that is always incrementing for use
45 class TimeTicks;
138 TimeTicks operator+(TimeTicks t) const;
162 friend class TimeTicks;
451 // TimeTicks ------------------------------------------------------------------
453 class BASE_API TimeTicks {
455 TimeTicks() : ticks_(0) {
461 static TimeTicks Now();
467 static TimeTicks HighResNow();
483 // Returns the internal numeric value of the TimeTicks object.
488 TimeTicks& operator=(TimeTicks other) {
494 TimeDelta operator-(TimeTicks other) const {
499 TimeTicks& operator+=(TimeDelta delta) {
503 TimeTicks& operator-=(TimeDelta delta) {
508 // Return a new TimeTicks modified by some delta.
509 TimeTicks operator+(TimeDelta delta) const {
510 return TimeTicks(ticks_ + delta.delta_);
512 TimeTicks operator-(TimeDelta delta) const {
513 return TimeTicks(ticks_ - delta.delta_);
517 bool operator==(TimeTicks other) const {
520 bool operator!=(TimeTicks other) const {
523 bool operator<(TimeTicks other) const {
526 bool operator<=(TimeTicks other) const {
529 bool operator>(TimeTicks other) const {
532 bool operator>=(TimeTicks other) const {
542 explicit TimeTicks(int64 ticks) : ticks_(ticks) {
554 inline TimeTicks TimeDelta::operator+(TimeTicks t) const {
555 return TimeTicks(t.ticks_ + delta_);