API/api.medcify.app/node_modules/@pm2/io/build/main/utils/EWMA.d.ts

13 lines
336 B
TypeScript
Raw Normal View History

2022-09-26 06:11:44 +00:00
export default class ExponentiallyWeightedMovingAverage {
private _timePeriod;
private _tickInterval;
private _alpha;
private _count;
private _rate;
private TICK_INTERVAL;
constructor(timePeriod?: number, tickInterval?: number);
update(n: any): void;
tick(): void;
rate(timeUnit: any): number;
}