An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 9.6% dependent repos on hackage.haskell.org

hackage.haskell.org : rdtsc

This module provides the function rdtsc for accessing the rdtsc machine register on modern IA-32 processors. This is a 64-bit counter which counts the number of processor cycles since the machine has been powered up. Using this instruction, you can make very precise time measurements which are independent of the actual CPU frequency. But note that you can get strange results sometimes on a superscalar processor. Also note that the Haskell foreign function interface imposes some additional overheads. On my machine, it takes about 950 cycles to call this function twice and to compute the difference, whereas in C the overhead is only about 88 cycles.

Registry - Source - JSON
purl: pkg:hackage/rdtsc
Keywords: bsd3 , foreign-binding , library , Propose Tags
License: BSD-3-Clause
Latest release: over 14 years ago
First release: over 18 years ago
Dependent packages: 1
Dependent repositories: 30
Downloads: 5,853 total
Stars: 1 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 3 days ago

    Loading...
    Readme
    Loading...