Github user SolidWallOfCode commented on a diff in the pull request:
https://github.com/apache/trafficserver/pull/965#discussion_r77540649
--- Diff: iocore/eventsystem/I_Thread.h ---
@@ -168,21 +168,21 @@ class Thread
@note This also updates the cached time.
*/
- static ink_hrtime get_hrtime_updated();
+ static ts_hrtick get_hrtime_updated();
};
extern Thread *this_thread();
-TS_INLINE ink_hrtime
+TS_INLINE ts_hrtick
Thread::get_hrtime()
{
return cur_time;
}
-TS_INLINE ink_hrtime
+TS_INLINE ts_hrtick
Thread::get_hrtime_updated()
{
- return cur_time = ink_get_hrtime_internal();
+ return cur_time = std::chrono::high_resolution_clock::now();
--- End diff --
Wrong. Should be ``ts_hrtick::clock::now()``.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---