source: trip-planner-front/node_modules/hdr-histogram-js/dist/wasm/index.d.ts@ 84d0fbb

Last change on this file since 84d0fbb was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 2.2 KB
Line 
1import Histogram, { HistogramSummary } from "../Histogram";
2import { BuildRequest } from "../HistogramBuilder";
3export declare const webAssemblyAvailable: boolean;
4export declare const initWebAssembly: () => Promise<void>;
5export declare const initWebAssemblySync: () => void;
6export declare const webAssemblyReady: () => boolean;
7export declare class WasmHistogram implements Histogram {
8 private _wasmHistogram;
9 private _remoteHistogramClass;
10 tag: string;
11 constructor(_wasmHistogram: any, _remoteHistogramClass: string);
12 static build(request?: BuildRequest): WasmHistogram;
13 static decode(data: Uint8Array, bitBucketSize?: 8 | 16 | 32 | 64 | "packed", minBarForHighestTrackableValue?: number): Histogram;
14 get numberOfSignificantValueDigits(): number;
15 get autoResize(): boolean;
16 set autoResize(resize: boolean);
17 get highestTrackableValue(): number;
18 set highestTrackableValue(value: number);
19 get startTimeStampMsec(): number;
20 set startTimeStampMsec(value: number);
21 get endTimeStampMsec(): number;
22 set endTimeStampMsec(value: number);
23 get totalCount(): number;
24 get stdDeviation(): number;
25 get mean(): number;
26 get estimatedFootprintInBytes(): number;
27 get minNonZeroValue(): number;
28 get maxValue(): number;
29 recordValue(value: number): void;
30 recordValueWithCount(value: number, count: number): void;
31 recordValueWithExpectedInterval(value: number, expectedIntervalBetweenValueSamples: number): void;
32 getValueAtPercentile(percentile: number): number;
33 outputPercentileDistribution(percentileTicksPerHalfDistance?: number, outputValueUnitScalingRatio?: number, useCsvFormat?: boolean): string;
34 private isDestroyed;
35 get summary(): HistogramSummary;
36 toJSON(): HistogramSummary;
37 toString(): string;
38 inspect(): string;
39 addWhileCorrectingForCoordinatedOmission(otherHistogram: WasmHistogram, expectedIntervalBetweenValueSamples: number): void;
40 copyCorrectedForCoordinatedOmission(expectedIntervalBetweenValueSamples: number): WasmHistogram;
41 add(otherHistogram: WasmHistogram): void;
42 subtract(otherHistogram: WasmHistogram): void;
43 encode(): Uint8Array;
44 reset(): void;
45 destroy(): void;
46}
Note: See TracBrowser for help on using the repository browser.