UNPKG

@oaklean/profiler-core

Version:

Part of the @oaklean suite. It provides all basic functions to work with the `.oak` file format. It allows parsing the `.oak` file format as well as tools for analyzing the measurement values. It also provides all necessary capabilities required for prec

29 lines (28 loc) 1.25 kB
import { CPUModel } from './CPUModel'; import { IComputedNode } from '../../../lib/vscode-js-profile-core/src/cpu/model'; import { MilliJoule_number, IPureCPUTime, IPureCPUEnergyConsumption, IPureRAMEnergyConsumption, ISensorValues } from '../../types'; export declare enum CPUNodeType { extern = "extern", intern = "intern", langInternal = "lang_internal" } export declare class CPUNode { private _index; private cpuModel; private cpuNode; private _aggregatedEnergyConsumption; constructor(index: number, cpuModel: CPUModel, node: IComputedNode); get sourceLocation(): import("./CPUProfileSourceLocation").CPUProfileSourceLocation; get profilerHits(): number; get selfCPUEnergyConsumption(): MilliJoule_number; get selfRAMEnergyConsumption(): MilliJoule_number; get aggregatedEnergyConsumption(): [MilliJoule_number, MilliJoule_number]; get cpuTime(): IPureCPUTime; get cpuEnergyConsumption(): IPureCPUEnergyConsumption; get ramEnergyConsumption(): IPureRAMEnergyConsumption; get sensorValues(): ISensorValues; get index(): number; get childrenCount(): number; children(): Generator<CPUNode, void, unknown>; reversedChildren(): Generator<CPUNode, void, unknown>; }