UNPKG

sussudio

Version:

An unofficial VS Code Internal API

17 lines (16 loc) 827 B
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ import { BrowserWindow } from 'electron'; import { ILogService } from "../../log/common/log.mjs"; import { IV8Profile } from "../common/profiling.mjs"; export declare class WindowProfiler { private readonly _window; private readonly _sessionId; private readonly _logService; constructor(_window: BrowserWindow, _sessionId: string, _logService: ILogService); inspect(duration: number): Promise<IV8Profile>; private _connect; private _disconnect; }