icexin opened a new issue, #2833:
URL: https://github.com/apache/brpc/issues/2833

   **Is your feature request related to a problem? (你需要的功能是否与某个问题有关?)**
   我期待在rpc服务端统计请求粒度的cpu使用时间,用于计算租户的cpu消耗,不能简单用qps这样的指标,因为不同的qps资源消耗不一样。
   
   **Describe the solution you'd like (描述你期望的解决方法)**
   类似线程有 `clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts)` 
可以获取线程的真实cpu时间(不包括阻塞在系统调用),希望bthread有类似的接口
   
   
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to