登录
首页 » 算法 » Lifitime tracer. ***************************************************** Example...

Lifitime tracer. ***************************************************** Example...

于 2022-02-13 发布 文件大小:5.91 kB
0 90
下载积分: 2 下载次数: 1

代码说明:

Lifitime tracer. *** *** *** *** *** *** *** *** ***** Example: #include void foo() { TRACE_LIFETIME usleep(100000) } void main() { foo() } *** *** *** *** *** *** *** *** *** See lifetimes.log: FUNC: void foo(), AV TTL: 00000xxxxx us (main.cpp, 000xxx) TTL: 00000xxxxx us (THREAD ID: 0000xxxx) ****************************************************** Explanation of newly created lifetimes.log: FUNC - function, whose lifetime we measured AV TTL - mean (average) spent time of all functions calls TTL - time spent on each function call THREAD ID - thread that called a function. ***************************************************** Description: - was written for QT project - multithreaded support (Loki::Singleton has multithreaded sync support) **************************************************** Dependencies: - QT - Loki (A. Alexandrescu) -Lifitime tracer. ****************************************************

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论


0 个回复

  • 696518资源总数
  • 104537会员总数
  • 40今日下载