---
id: 1916
title: "TSC Frequency For All: Better Profiling and Benchmarking"
source_domain: blog.trailofbits.com
source_url: "https://blog.trailofbits.com/2019/10/03/tsc-frequency-for-all-better-profiling-and-benchmarking/"
published_at: "2019-10-03T10:58:24Z"
tags: ["linux", "x86", "kernel", "performance", "benchmarking", "profiling", "kernel-module", "tsc"]
phying_url: "https://phying.com/item/1916"
lang: en
---

# TSC Frequency For All: Better Profiling and Benchmarking

## Summary

Trail of Bits released tsc_freq_khz, a Linux kernel module exporting the real x86 TSC frequency via sysfs, fixing X-Ray profiling errors and inaccurate timing in VMs and on newer Intel CPUs.

## Intelligence Metadata

- **Sources:** blog.trailofbits.com
- **Published:** 2019-10-03T10:58:24Z
- **Original:** https://blog.trailofbits.com/2019/10/03/tsc-frequency-for-all-better-profiling-and-benchmarking/
- **Phying News:** https://phying.com/item/1916
