Skip to content
Astera Technology

Order events after correcting supplied clock offsets

Normalize two device timestamps before inferring which event preceded the other.

Declare offset signs

Synthetic reference time is the common clock. Device A runs 90 seconds fast; B30 seconds slow. A logs event X at 12:00:20, B logs Y at 11:59:50. Offsets are exact constants for this drill; corrected time is device time minus signed offset.

Clock correction worksheet
Event/deviceSigned offsetCorrected time
X/A12:00:20+90 sec11:58:50
Y/B11:59:50−30 sec12:00:20
Download editable CSV ↓

Convert to the reference clock

  1. Fix the offset convention
  2. Subtract each signed offset
  3. Compare corrected timestamps

Unknown or changing offsets require an uncertainty range; exact order is not established by this model then.

Which event came first and by how much?

Show the worked answer

X first by 90 seconds. Raw timestamps suggest Y first, but correction reverses that order. The corrected ordering alone does not prove X caused Y.

Keep order separate from causation

Filled decision checks
CaseDecisionReason
Sort raw timestampsWrong order for supplied offsetsA fast/B slow
Sort corrected timestampsX beforeYGap 90 sec
Download editable CSV ↓

Retain raw timestamp, device identity, offset source and corrected value. Replacing raw times would hide how the conclusion was obtained.

Related resources