API/api.medcify.app/node_modules/@pm2/io/build/main/features/profiling.d.ts
2022-09-26 11:41:44 +05:30

19 lines
459 B
TypeScript

import { Feature } from '../featureManager';
export interface ProfilerType {
init(): void;
register(): void;
destroy(): void;
}
export declare class ProfilingConfig {
cpuJS: boolean;
heapSnapshot: boolean;
heapSampling: boolean;
implementation?: string;
}
export declare class ProfilingFeature implements Feature {
private profiler;
private logger;
init(config?: ProfilingConfig | boolean): any;
destroy(): void;
}