< prev index next >

src/hotspot/share/utilities/ticks.hpp

Print this page
rev 49683 : [mq]: 6672778-inconsistent-time-fixes

@@ -45,10 +45,15 @@
   Tickspan& operator+=(const Tickspan& rhs) {
     _span_ticks += rhs._span_ticks;
     return *this;
   }
 
+  Tickspan& operator-=(const Tickspan& rhs) {
+    _span_ticks -= rhs._span_ticks;
+    return *this;
+  }
+
   jlong value() const {
     return _span_ticks;
   }
 
 };
< prev index next >