UNPKG

@oaklean/profiler-core

Version:

Part of the @oaklean suite. It provides all basic functions to work with the `.oak` file format. It allows parsing the `.oak` file format as well as tools for analyzing the measurement values. It also provides all necessary capabilities required for prec

9 lines (8 loc) 434 B
import { NanoSeconds_BigInt, MilliSeconds_number } from '../types'; export declare class TimeHelper { static getCurrentTimestamp(): number; static getTimeDelta(): NanoSeconds_BigInt; static getCurrentHighResolutionTime(): NanoSeconds_BigInt; static timestampToHighResolutionTime(timestamp: MilliSeconds_number, timeDelta?: NanoSeconds_BigInt): NanoSeconds_BigInt; static sleep(millis: number): Promise<unknown>; }