federer
Version:
Experiments in asynchronous federated learning and decentralized learning
10 lines • 320 B
TypeScript
/** Small helper class for measuring durations, in ms. */
export declare class Timer {
/** Time the execution time of a function */
static time<T>(fn: () => T): [time: number, result: T];
private startTime?;
start(): void;
isStarted(): boolean;
ms(): number;
}
//# sourceMappingURL=Timer.d.ts.map