• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (c) 2022-2025 Huawei Device Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16import { int32 } from "#koalaui/compat";
17export declare class KoalaProfiler {
18    private static readonly map;
19    static nodeCreated(nodeType: int32, node: Object): void;
20    static nodeDisposed(nodeType: int32, node: Object): void;
21    static counters: KoalaProfiler | undefined;
22    private invalidations;
23    private computes;
24    private builds;
25    private nodes;
26    private realDraws;
27    private cachedDraws;
28    private measures;
29    private layouts;
30    private frames;
31    private lastTime;
32    private lastFPS;
33    private updateEnterTime;
34    private updateExitTime;
35    private updateTime;
36    private buildEnterTime;
37    private buildExitTime;
38    private buildTime;
39    private layoutEnterTime;
40    private layoutExitTime;
41    private layoutTime;
42    private drawEnterTime;
43    private drawExitTime;
44    private drawTime;
45    private updatableStates;
46    private mutableStates;
47    private computableValues;
48    static enable(): void;
49    static disable(): void;
50    static enabled(): boolean;
51    reset(): void;
52    report(): void;
53    getReport(): string;
54    invalidation(): void;
55    compute(): void;
56    build(): void;
57    node(): void;
58    realDraw(): void;
59    cachedDraw(): void;
60    layout(): void;
61    measure(): void;
62    frame(ms: number): void;
63    buildRootEnter(): void;
64    buildRootExit(): void;
65    layoutEnter(): void;
66    layoutExit(): void;
67    drawEnter(): void;
68    drawExit(): void;
69    updateSnapshotEnter(): void;
70    updateSnapshotExit(): void;
71    updateSnapshot(modified: int32, all?: int32): void;
72}
73//# sourceMappingURL=KoalaProfiler.d.ts.map