Hi,
I'm trying to add a time stamp on the x axis of a qwtPlot like the one used in the CPU example.
I'm a beginner in Qt and I have difficulties understanding the cpuStat.upTime() function, and basically all the principle used to generate the time stamp in the CPU code.
For example, ? Does procValues[i] represents the buffer containing all the time data since the start of the programm or just the time data in a timeEvent intervall ?
Qt Code:
{ QTime t; for ( int i = 0; i < NValues; i++ ) t = t.addSecs(int(procValues[i] / 100)); return t; }To copy to clipboard, switch view to plain text mode
Thanks for your help !
Bookmarks