文件名称:cpp_tracer
介绍说明--下载内容均来自于网络,请自行研究使用
Lifitime tracer.
*** *** *** *** *** *** *** *** *****
Example:
#include <timings.h>
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.
*****************************************************
Descr iption:
- was written for QT project
- multithreaded support (Loki::Singleton has multithreaded sync support)
****************************************************
Dependencies:
- QT
- Loki (A. Alexandrescu)
-Lifitime tracer.
*****************************************************
Example:
#include <timings.h>
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.
*****************************************************
Descr iption:
- was written for QT project
- multithreaded support (Loki::Singleton has multithreaded sync support)
****************************************************
Dependencies:
- QT
- Loki (A. Alexandrescu)
*** *** *** *** *** *** *** *** *****
Example:
#include <timings.h>
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.
*****************************************************
Descr iption:
- was written for QT project
- multithreaded support (Loki::Singleton has multithreaded sync support)
****************************************************
Dependencies:
- QT
- Loki (A. Alexandrescu)
-Lifitime tracer.
*****************************************************
Example:
#include <timings.h>
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.
*****************************************************
Descr iption:
- was written for QT project
- multithreaded support (Loki::Singleton has multithreaded sync support)
****************************************************
Dependencies:
- QT
- Loki (A. Alexandrescu)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
timings.h
main.cpp
timings.cpp
lifetimes.log
TestQtTiming.pro
main.cpp
timings.cpp
lifetimes.log
TestQtTiming.pro