Donner SVG Editor & Engine
SVG-native editor and embeddable SVG2 + CSS3 engine in C++20, with GPU (WebGPU) and compact CPU renderers, built for correctness, security, and performance.
Loading...
Searching...
No Matches
donner::editor::FrameProfilerSample Struct Reference

Render-pane profiler costs aligned with one UI frame-history sample. More...

#include "donner/editor/ViewportInteractionController.h"

Public Member Functions

float totalProfiledMs () const
 Sum of known profiled costs.

Public Attributes

float hostBeginFrameMs = 0.0f
 Time spent starting the current ImGui frame.
float hostPreviousEndFrameMs = 0.0f
 Time spent ending and presenting the previous host frame.
float hostPreviousImguiRenderMs = 0.0f
 Previous host end-frame time spent in ImGui::Render.
float hostPreviousSurfaceAcquireMs = 0.0f
 Previous host end-frame time spent acquiring the WGPU surface texture.
float hostPreviousUnderlayMs = 0.0f
 Previous host end-frame time spent in the document underlay direct pass.
float hostPreviousImguiDrawMs = 0.0f
 Previous host end-frame time spent issuing ImGui backend draw commands.
float hostPreviousDirectMs = 0.0f
 Previous host end-frame time spent in the overlay/direct append pass.
float hostPreviousReadbackMs = 0.0f
 Previous host end-frame time spent reading the framebuffer back to the CPU.
float hostPreviousPresentMs = 0.0f
 Previous host end-frame time spent presenting or swapping the surface.
float mainPreparationMs = 0.0f
 Early editor-frame bookkeeping before polling renderer results.
float mainRenderPollMs = 0.0f
 Time spent accepting a completed async render result.
float mainDocumentFlushMs = 0.0f
 Time spent flushing queued DOM/source mutations.
float mainOverlayRefreshMs = 0.0f
 Time spent refreshing overlay chrome outside normal pane rendering.
float mainDocumentSyncMs = 0.0f
 Time spent syncing parse markers and pending source writebacks.
float mainLayoutMs = 0.0f
 Time spent computing editor pane layout and viewport layout.
float mainShortcutsMs = 0.0f
 Time spent handling global keyboard shortcuts.
float mainMenusDialogsMs = 0.0f
 Time spent rendering the menu bar and modal dialogs.
float mainSourcePaneMs = 0.0f
 Time spent rendering the XML source pane.
float mainRenderPaneMs = 0.0f
 Time spent rendering the central document pane widgets.
float mainSidebarsMs = 0.0f
 Time spent rendering tree/layer/inspector sidebars.
float mainSplittersMs = 0.0f
 Time spent rendering pane splitters and the floating layer panel.
float mainEndRenderRequestMs = 0.0f
 Time spent issuing an end-of-frame document render request.
float overlayCaptureMs = 0.0f
 Time spent collecting overlay chrome geometry.
float overlayDrawMs = 0.0f
 Time spent drawing overlay chrome into a retained overlay payload.
float overlaySnapshotMs = 0.0f
 Time spent snapshotting overlay chrome from the renderer.
float overlayUploadMs = 0.0f
 Time spent uploading or registering retained overlay presentation payloads.
float compositedUploadMs = 0.0f
 Time spent uploading or registering composited content tiles.
float compositedRenderImmediateMs = 0.0f
 Worker time spent rendering transient immediate compositor spans.
float compositedRenderCachedMs = 0.0f
 Worker time spent rendering retained cached compositor tiles.
float sourceRopeLayoutMs = 0.0f
 Time spent laying out source-focus ropes.
float sourceRopeUpdateMs = 0.0f
 Time spent updating source-focus rope simulation/state.
float sourceRopeDrawMs = 0.0f
 Time spent issuing source-focus rope draw commands.

Detailed Description

Render-pane profiler costs aligned with one UI frame-history sample.


The documentation for this struct was generated from the following file: