API/api.medcify.app/node_modules/@pm2/io/build/main/features/profiling.d.ts

19 lines
459 B
TypeScript
Raw Normal View History

2022-09-26 06:11:44 +00:00
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;
}