@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
20 lines (19 loc) • 894 B
TypeScript
import { BaseMetricsData } from './BaseMetricsData';
import { UnifiedPath } from '../../system/UnifiedPath';
import { BaseModel } from '../BaseModel';
import { MetricsDataCollectionType, TimeInfo, IMetricsDataCollection } from '../../types';
export declare class MetricsDataCollection extends BaseModel {
private _pid;
private _type;
private _items;
private _timeInfo;
constructor(pid: number, type: MetricsDataCollectionType, items: BaseMetricsData[], timeInfo: TimeInfo);
get pid(): number;
get type(): MetricsDataCollectionType;
get items(): BaseMetricsData[];
get timeInfo(): TimeInfo;
toJSON(): IMetricsDataCollection;
storeToFile(filePath: UnifiedPath): void;
static fromJSON(json: string | IMetricsDataCollection, ...args: any[]): MetricsDataCollection;
static loadFromFile(filePath: UnifiedPath): MetricsDataCollection | undefined;
}