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
Share

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

compile-time eval + lock-free equals du du du du

HangukQuant
·
Oct 4
compile-time eval + lock-free equals du du du du

Read full story

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
© 2025 QUANTA GLOBAL PTE. LTD. 202328387H.
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture