Project

General

Profile

Bug #6389

Fix the upper/lower 32 bit time calculation problem

Added by Michael Baird over 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Start date:
05/30/2014
Due date:
% Done:

0%

Estimated time:
Duration:

Description

In calculating the nanoslice time w.r.t. the trigger time, we only use the lower 32 bits of the trigger time. What we should do is calculate the upper 32 bits of the trigger time, cast the nanoslice time as an unsigned long int, and add the upper 32 bits of the trigger time to that. Then we can do the subtraction and all will be well...



Also available in: Atom PDF