package
module
Version:
v1.0.4
Opens a new window with list of versions in this module.
Published: Aug 10, 2020
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Documentation
¶
BenchmarkEnd end a benchmark
BenchmarkStart start a benchmark
Cpuid runs CPUID, mainly useful to benchmark it.
Frequency returns your TSC frequency
will take the max on "n" tries and
will take "period" to find out
Rdtscp returns TSC and core ID if your OS support that (for instance, linux does, darwin dos not)
Since returns the ticks diff
Ticks runs Rdtscp but only return TSC, so one less write (probably useless)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.