andre-richter / pcie-lat

Generic x86_64 PCIe latency measurement module for the Linux kernel
GNU General Public License v2.0
56 stars 15 forks source link

Fix tsc_freq overflow problem #3

Closed yarrr-ru closed 4 years ago

yarrr-ru commented 4 years ago

I had same issue as https://github.com/andre-richter/pcie-lat/issues/2

The problem is very simple: for my tsc_freq (4300 * 10^6) value is too big for uint32_t.

andre-richter commented 4 years ago

Awesome, thanks!