UNPKG

sussudio

Version:

An unofficial VS Code Internal API

14 lines (13 loc) 767 B
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ import { ILogService } from "../../log/common/log.mjs"; import { BottomUpSample } from "./profilingModel.mjs"; import { ITelemetryService } from "../../telemetry/common/telemetry.mjs"; export interface SampleData { perfBaseline: number; sample: BottomUpSample; source: string; } export declare function reportSample(data: SampleData, telemetryService: ITelemetryService, logService: ILogService): void;