Description: 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.
*****************************************************
Description:
- was written for QT project
- multithreaded support (Loki::Singleton has multithreaded sync support)
****************************************************
Dependencies:
- QT
- Loki (A. Alexandrescu)
- [trace] - err
- [ttl] - text to language,A simple text-to-speech
- [eeprom] - EEPROM Writing Program EX. for AVR128
- [pipe] - The use of pipe and Notepad communicatio
File list (Check if you may need any files):
timings.h
main.cpp
timings.cpp
lifetimes.log
TestQtTiming.pro