sussudio
Version:
An unofficial VS Code Internal API
16 lines (15 loc) • 639 B
text/typescript
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
export declare class StopWatch {
private _highResolution;
private _startTime;
private _stopTime;
static create(highResolution?: boolean): StopWatch;
constructor(highResolution: boolean);
stop(): void;
reset(): void;
elapsed(): number;
private _now;
}