UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

46 lines 1.03 kB
export class ConcurrentExecutorProfiler { /** * * @type {ConcurrentExecutor|null} */ executor: ConcurrentExecutor | null; /** * Active profile * @type {Profile|null} */ profile: Profile | null; __task_id_counter: number; /** * * @type {Map<Task, number>} * @private */ private __task_ids; /** * * @param {ConcurrentExecutor} executor */ attach(executor: ConcurrentExecutor): void; /** * * @param {Task} task * @private */ private __record_task_start; /** * * @param {Task} task * @private */ private __record_task_end; start(): void; stop(): void; /** * Prompts browser to save profile. * Format is compatible with chrome://tracing * @see https://docs.google.com/document/d/1CvAClvFfyA5R-PhYUmn5OOQtYMH4h6I0nSsKchNAySU/edit */ save(): void; } import { Profile } from "./Profile.js"; //# sourceMappingURL=ConcurrentExecutorProfiler.d.ts.map