@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
17 lines (16 loc) • 873 B
TypeScript
import { BaseMetricsData } from './BaseMetricsData';
import { MilliJoule_number, NanoSeconds_BigInt, IWindowsSensorInterfaceMetricsDataOutputFormat, IWindowsSensorInterfaceMetricsData } from '../../types';
export declare class WindowsSensorInterfaceMetricsData extends BaseMetricsData {
private _data;
constructor(data: IWindowsSensorInterfaceMetricsDataOutputFormat);
toJSON(): IWindowsSensorInterfaceMetricsData;
static fromJSON(json: string | IWindowsSensorInterfaceMetricsData, ...args: any[]): WindowsSensorInterfaceMetricsData;
get duration(): NanoSeconds_BigInt;
get startTime(): NanoSeconds_BigInt;
processIsPresent(pid: number): boolean;
energyPortionOfProcess(pid: number): number;
get endTime(): NanoSeconds_BigInt;
cpuEnergy(): MilliJoule_number;
ramEnergy(): MilliJoule_number;
gpuEnergy(): MilliJoule_number;
}