HangukQuant Research

HangukQuant Research

Timestamp-ing for Performance

using modern x86-64 TSC for micro-benchmarking tiny kernels and hot-path timestamps in cpp

HangukQuant's avatar
HangukQuant
Oct 09, 2025
∙ Paid

In the last series, a number of posts discussed low-latency logging frameworks and implementation.

This is a standalone post on the RDTSC (Read Time-Stamp Counter) instruction in the x86/x86-64 ISA for high resolution timing.

The Time Stamp Counter (TSC) is a powerful tool for developers seeking low-overhead timing in performance-critical applications. This blog post explores the TSC, its functionality, challenges and modern implementations. Code is included for a TSCClock implementation.

This post is for paid subscribers

Already a paid subscriber? Sign in
© 2026 QUANTA GLOBAL PTE. LTD. 202328387H. · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture