Commit 0bef67a3 authored by sletz's avatar sletz
Browse files

Cleanup profiling code.

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3395 0c269be4-1314-0410-8aa9-9f06e86f4224
parent cbeb54fc
......@@ -46,11 +46,10 @@ JackEngineProfiling::~JackEngineProfiling()
} else {
// For each measured point
for (int i = 3; i < TIME_POINTS; i++) {
for (int i = 2; i < TIME_POINTS; i++) {
// Driver timing values
//long d1 = long(fProfileTable[i].fCurCycleBegin - fProfileTable[i - 1].fCurCycleBegin);
long d1 = long(fProfileTable[i - 1].fCurCycleBegin - fProfileTable[i - 2].fCurCycleBegin);
long d1 = long(fProfileTable[i].fCurCycleBegin - fProfileTable[i - 1].fCurCycleBegin);
long d2 = long(fProfileTable[i].fPrevCycleEnd - fProfileTable[i - 1].fCurCycleBegin);
if (d1 <= 0 || fProfileTable[i].fAudioCycle <= 0)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment