SolidWallOfCode commented on a change in pull request #7482:
URL: https://github.com/apache/trafficserver/pull/7482#discussion_r569888550
##########
File path: include/tscore/ink_time.h
##########
@@ -43,7 +45,17 @@
*===========================================================================*/
-typedef time_t ink_time_t;
+using ink_time_t = time_t;
+using ts_clock = std::chrono::system_clock;
+using ts_time = ts_clock::time_point;
+using ts_hr_clock = std::chrono::high_resolution_clock;
+using ts_hr_time = ts_hr_clock::time_point;
+
+using ts_seconds = std::chrono::seconds;
+using ts_milliseconds = std::chrono::milliseconds;
Review comment:
It's trivial to add if it comes up. So far the work I've done using
this, it hasn't.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]