feng-y opened a new issue, #1822:
URL: https://github.com/apache/incubator-brpc/issues/1822
**Is your feature request related to a problem? (你需要的功能是否与某个问题有关?)**
**Describe the solution you'd like (描述你期望的解决方法)**
在grpc/ brpc-pthread 模式下 支持使用 clock_gettime(CLOCK_THREAD_CPUTIME_ID)
获取整体的cpu资源,方便用于pv级别统计cpu资源,并用于 abtest 实验追述,然后用于实验资源的评估;
希望可以在自定义的bthread 中 以及 相应rpc 的bthread 中统计cpu 资源
**Describe alternatives you've considered (描述你想到的折衷方案)**
bthread_attr_t 增加 fn,再切换时支持统计
**Additional context/screenshots (更多上下文/截图)**
--
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]