1 | import * as api from '@opentelemetry/api';
|
2 |
|
3 |
|
4 |
|
5 |
|
6 | export declare function millisToHrTime(epochMillis: number): api.HrTime;
|
7 | export declare function getTimeOrigin(): number;
|
8 |
|
9 |
|
10 |
|
11 |
|
12 | export declare function hrTime(performanceNow?: number): api.HrTime;
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 | export declare function timeInputToHrTime(time: api.TimeInput): api.HrTime;
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 | export declare function hrTimeDuration(startTime: api.HrTime, endTime: api.HrTime): api.HrTime;
|
25 |
|
26 |
|
27 |
|
28 |
|
29 | export declare function hrTimeToTimeStamp(time: api.HrTime): string;
|
30 |
|
31 |
|
32 |
|
33 |
|
34 | export declare function hrTimeToNanoseconds(time: api.HrTime): number;
|
35 |
|
36 |
|
37 |
|
38 |
|
39 | export declare function hrTimeToMilliseconds(time: api.HrTime): number;
|
40 |
|
41 |
|
42 |
|
43 |
|
44 | export declare function hrTimeToMicroseconds(time: api.HrTime): number;
|
45 |
|
46 |
|
47 |
|
48 |
|
49 | export declare function isTimeInputHrTime(value: unknown): value is api.HrTime;
|
50 |
|
51 |
|
52 |
|
53 |
|
54 | export declare function isTimeInput(value: unknown): value is api.HrTime | number | Date;
|
55 |
|
56 |
|
57 |
|
58 | export declare function addHrTimes(time1: api.HrTime, time2: api.HrTime): api.HrTime;
|
59 |
|
\ | No newline at end of file |