UNPKG

rdtsc

Version:

The most high resolution cross platform timing in NodeJs that use processor command RDTSC. Calculate performance with accuracy +/- 4 processor cycles.

4 lines (3 loc) 144 B
import { Rdtsc } from "./types"; export declare function setRdtscDefault(rdtsc: Rdtsc): void; export declare function getRdtscDefault(): Rdtsc;