@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
14 lines (13 loc) • 658 B
TypeScript
import { MilliJoule_number, NanoSeconds_BigInt, IPowerMetricsData, IPerfMetricsData, IWindowsSensorInterfaceMetricsData } from '../../types';
export declare class BaseMetricsData {
processIsPresent(pid: number): boolean;
energyPortionOfProcess(pid: number): number;
totalEnergyImpact(): number;
get duration(): NanoSeconds_BigInt;
get startTime(): NanoSeconds_BigInt;
get endTime(): NanoSeconds_BigInt;
cpuEnergy(): MilliJoule_number;
ramEnergy(): MilliJoule_number;
toJSON(): IPowerMetricsData | IPerfMetricsData | IWindowsSensorInterfaceMetricsData;
static fromJSON(json: string | object, ...args: any[]): object;
}