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

26 lines (25 loc) 1.72 kB
import { BaseModel } from './BaseModel'; import { ISystemInformation_System, ISystemInformation_Baseboard, ISystemInformation_Chassis, ISystemInformation_Cpu, ISystemInformation_Memory, ISystemInformation_MemoryLayout, ISystemInformation_Battery, ISystemInformation_Os, ISystemInformation } from '../types'; export declare class SystemInformation extends BaseModel { system: ISystemInformation_System; baseBoard: ISystemInformation_Baseboard; chassis: ISystemInformation_Chassis; cpu: ISystemInformation_Cpu; memory: ISystemInformation_Memory; memoryLayout: ISystemInformation_MemoryLayout[]; battery: ISystemInformation_Battery; os: ISystemInformation_Os; constructor(system: ISystemInformation_System, baseBoard: ISystemInformation_Baseboard, chassis: ISystemInformation_Chassis, cpu: ISystemInformation_Cpu, memory: ISystemInformation_Memory, memoryLayout: ISystemInformation_MemoryLayout[], battery: ISystemInformation_Battery, os: ISystemInformation_Os); static sameSystem(...args: ISystemInformation[]): boolean; static collect(): Promise<SystemInformation>; static systemInfo(): Promise<ISystemInformation_System>; static baseBoardInfo(): Promise<ISystemInformation_Baseboard>; static chassisInfo(): Promise<ISystemInformation_Chassis>; static cpuInfo(): Promise<ISystemInformation_Cpu>; static memoryInfo(): Promise<ISystemInformation_Memory>; static memoryLayoutInfo(): Promise<ISystemInformation_MemoryLayout[]>; static batteryInfo(): Promise<ISystemInformation_Battery>; static osInfo(): Promise<ISystemInformation_Os>; toJSON(): ISystemInformation; static fromJSON(json: string | ISystemInformation): SystemInformation; }