yanfeng

Results 2 issues of yanfeng

**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 资源...

**Is your feature request related to a problem? (你需要的功能是否与某个问题有关?)** 方便gdb && pstack 的时候找到bthread 使用线程 **Describe the solution you'd like (描述你期望的解决方法)** pthread_setname_np **Describe alternatives you've considered (描述你想到的折衷方案)** 在TaskControl::init, TaskControl::add_works TimeThread::Start 创建线程时使用...

good first issue