/**
 * CPU 大小核分布分析模板
 * 分析线程在不同 CPU 核心上的运行时间分布
 */
import { TraceProcessorService } from '../traceProcessorService';
export interface CpuCoreDistribution {
    summary: {
        totalMs: number;
        littleCoreMs: number;
        bigCoreMs: number;
        littleCorePercentage: number;
        bigCorePercentage: number;
    };
    breakdown: CoreBreakdown[];
    visualization: {
        type: 'bar_chart';
        data: {
            label: string;
            value: number;
            percentage: number;
            color: string;
        }[];
    };
    frequencyDistribution?: FrequencyDistribution;
}
export interface CoreBreakdown {
    cpu: number;
    coreType: 'little' | 'big' | 'unknown';
    sliceCount: number;
    totalMs: number;
    avgMs: number;
    percentage: number;
}
export interface FrequencyDistribution {
    avgFrequencyMhz: number;
    timeByFrequency: {
        frequencyMhz: number;
        durationMs: number;
        percentage: number;
    }[];
}
export declare class CpuCoreAnalyzer {
    private traceProcessor;
    private littleCores;
    private bigCores;
    constructor(traceProcessor: TraceProcessorService);
    /**
     * 执行 CPU 核心分布分析
     * @param traceId Trace ID
     * @param threadId 线程 ID（utid）
     * @param startTs 开始时间戳（纳秒），可选
     * @param endTs 结束时间戳（纳秒），可选
     */
    analyze(traceId: string, threadId: number, startTs?: number, endTs?: number): Promise<CpuCoreDistribution>;
    /**
     * 自动检测大小核配置
     * 基于 CPU 最大频率来判断
     */
    private detectCoreConfiguration;
    private getCoreType;
    private getCoreColor;
    private buildTimeCondition;
    private resultToRows;
    /**
     * 分析 CPU 频率分布（可选功能）
     */
    private analyzeFrequency;
    private resolveThreadTimeRange;
}
//# sourceMappingURL=cpuCoreAnalysis.d.ts.map