Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
gpu_startup_report.hpp File Reference
#include <pulp/render/gpu_diagnostics.hpp>
#include <pulp/render/gpu_surface.hpp>
#include <string>

Go to the source code of this file.

Classes

struct  pulp::render::GpuStartupReport
 Bring-up stage timings from GpuSurface::initialize() plus the two stages the owning host measures around it. More...

Namespaces

namespace  pulp
namespace  pulp::render

Functions

const char * pulp::render::adapter_type_label (GpuSurface::AdapterType type) noexcept
 Stable lowercase label for an adapter type: "integrated", "discrete", "cpu", or "unknown".
std::string pulp::render::format_gpu_adapter_line (const GpuSurface::AdapterInfo &info)
 One line naming the adapter a surface came up on, e.g.
std::string pulp::render::format_gpu_startup_line (const GpuStartupReport &report)
 One line of stage timings in milliseconds with one decimal, e.g.
std::string pulp::render::format_gpu_diagnostics_line (const SkiaLogBridgeState &bridge, const GpuDiagnosticsStats &stats)
 One line saying whether the Skia log bridge is wired and what reached it, e.g.
void pulp::render::log_gpu_diagnostics_summary ()
 Log the GpuDiagnostics line for this process at info level, preceded by skia: N more records suppressed when the bridge's text budget ran out.