[ 
https://issues.apache.org/jira/browse/TS-1774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14198608#comment-14198608
 ] 

Alan M. Carroll commented on TS-1774:
-------------------------------------

The problem here is a global function ("ink_get_hrtime()") depends on data in a 
class instance. For that reason it should be a method on the class, not a 
global function. Probably Thread::get_hrtime().

> Make ink_hrtime_get() in Thread.cc member of the Thread class
> -------------------------------------------------------------
>
>                 Key: TS-1774
>                 URL: https://issues.apache.org/jira/browse/TS-1774
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Leif Hedstrom
>              Labels: newbie
>             Fix For: 6.0.0
>
>
> It's somewhat confusing that e..g ink_get_hrtime() is not a member of the 
> Thread class, yet, relies on Thread::cur_time. Why is that ?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to