Account
LESSON 03 OF 96

Clocks: monotonic time, TSC, RDTSCP, and calibration

Trading Latency & Measurement Laboratories · Advanced → Expert

Structured lesson outlineThis lesson's video and full tutorial are not yet published. The learning objectives and exercises below outline what the finished lesson will cover.

Learning objectives

Focus on the underlying model and the engineering decisions rather than memorizing a single code snippet.

  • 01

    Choose between OS clocks, TSC and RDTSCP

  • 02

    Understand ordering, migration and invariant-TSC risks

  • 03

    Calibrate cycles to time and quantify clock overhead

Hands-on exercise

Compare clock_gettime and RDTSCP overhead across pinned and unpinned runs.

What a good result looks like

A clock-comparison report with calibration error and ordering assumptions.

APPLY WHAT YOU LEARN

C++ practice problems

3 related C++ topics

In-review topics are curriculum-linked challenge plans, not yet complete runnable tasks.

Progress is saved on this device.