@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
45 lines • 1.39 kB
TypeScript
export class Profile {
/**
*
* @type {TraceEvent[]}
*/
traceEvents: TraceEvent[];
/**
* If provided displayTimeUnit is a string that specifies in which unit timestamps should be displayed. This supports values of “ms” or “ns”. By default this is value is “ms”
* @type {string}
*/
displayTimeUnit: string;
/**
* If provided systemTraceEvents is a string of Linux ftrace data or Windows ETW trace data. This data must start with # tracer: and adhere to the Linux ftrace format or adhere to Windows ETW format.
* @type {string}
*/
systemTraceEvents: string;
/**
*
* @type {{version: string}}
*/
otherData: {
version: string;
};
/**
* If provided, the stackFrames field is a dictionary of stack frames, their ids, and their parents that allows compact representation of stack traces throughout the rest of the trace file. It is optional but sometimes very useful in shrinking file sizes.
* @type {Object}
*/
stackFrames: any;
/**
*
* @type {[]}
*/
samples: [];
toJSON(): {
traceEvents: TraceEvent[];
displayTimeUnit: string;
systemTraceEvents: string;
otherData: {
version: string;
};
stackFrames: any;
samples: [];
};
}
//# sourceMappingURL=Profile.d.ts.map