Skip to content

Commit

Permalink
HPCC-31096 Incorrect usage of msTick() in dasds.cpp
Browse files Browse the repository at this point in the history
Traced result looks wrong

Signed-off-by: Richard Chapman <[email protected]>
  • Loading branch information
richardkchapman committed Jan 10, 2024
1 parent f68fd84 commit e7863a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dali/base/dasds.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ class CLCLockBlock : public CInterface
if (lock.lockWrite(timeout))
break;
}
PROGLOG("CLCLockBlock(write=%d) timeout %s(%d), took %d ms",!readLock,fname,lnum,got-msTick());
PROGLOG("CLCLockBlock(write=%d) timeout %s(%d), took %d ms",!readLock,fname,lnum,msTick()-got);
if (readWriteStackTracing)
PrintStackReport();
}
Expand Down

0 comments on commit e7863a0

Please sign in to comment.