Browse Source

Cleanup profiling code.

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3395 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/1.9.2
sletz 16 years ago
parent
commit
0bef67a30a
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      common/JackEngineProfiling.cpp

+ 2
- 3
common/JackEngineProfiling.cpp View File

@@ -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)


Loading…
Cancel
Save