Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
health_read_result.hpp File Reference
#include <pulp_tooling/gpu_health/health_result.hpp>
#include <cstddef>
#include <cstdint>
#include <optional>
#include <string>
#include <string_view>
#include <vector>

Go to the source code of this file.

Classes

struct  pulp::tooling::gpu_health::ReferenceHost
struct  pulp::tooling::gpu_health::StartupBudget
 Versioned interpretation contract for startup measurements. More...
struct  pulp::tooling::gpu_health::StartupCorrelation
struct  pulp::tooling::gpu_health::StartupCapture
struct  pulp::tooling::gpu_health::StartupIdentity
struct  pulp::tooling::gpu_health::StartupTrial
struct  pulp::tooling::gpu_health::StartupMeasurements
struct  pulp::tooling::gpu_health::HealthReadResult
 Closed response returned by dev.pulp.gpu/health.read@1. More...

Namespaces

namespace  pulp
namespace  pulp::tooling
namespace  pulp::tooling::gpu_health
 Bounded, typed evidence returned by Pulp GPU health diagnostics.

Enumerations

enum class  pulp::tooling::gpu_health::MeasurementStatus { pulp::tooling::gpu_health::complete , pulp::tooling::gpu_health::incomplete , pulp::tooling::gpu_health::unavailable , pulp::tooling::gpu_health::unverified }
enum class  pulp::tooling::gpu_health::MeasurementEndpoint { pulp::tooling::gpu_health::native_compositor_presentation , pulp::tooling::gpu_health::headless_capture_complete }
enum class  pulp::tooling::gpu_health::BudgetStatus { pulp::tooling::gpu_health::ratified , pulp::tooling::gpu_health::unratified }
enum class  pulp::tooling::gpu_health::CacheState { pulp::tooling::gpu_health::cold , pulp::tooling::gpu_health::warm }
enum class  pulp::tooling::gpu_health::CacheProvenance { pulp::tooling::gpu_health::unknown , pulp::tooling::gpu_health::fresh_process , pulp::tooling::gpu_health::explicit_cache_reset , pulp::tooling::gpu_health::same_process_editor_reopen }
enum class  pulp::tooling::gpu_health::VisibleState { pulp::tooling::gpu_health::prepared , pulp::tooling::gpu_health::fallback , pulp::tooling::gpu_health::unknown }
enum class  pulp::tooling::gpu_health::PipelineContribution { pulp::tooling::gpu_health::material , pulp::tooling::gpu_health::not_material , pulp::tooling::gpu_health::unattributed , pulp::tooling::gpu_health::unverified }
enum class  pulp::tooling::gpu_health::CausalAttribution { pulp::tooling::gpu_health::complete , pulp::tooling::gpu_health::incomplete , pulp::tooling::gpu_health::unavailable , pulp::tooling::gpu_health::unverified }
enum class  pulp::tooling::gpu_health::StartupDisposition { pulp::tooling::gpu_health::queue_b4 , pulp::tooling::gpu_health::queue_b4_investigation , pulp::tooling::gpu_health::no_change }

Functions

std::string_view pulp::tooling::gpu_health::to_string (MeasurementStatus value)
std::string_view pulp::tooling::gpu_health::to_string (MeasurementEndpoint value)
std::string_view pulp::tooling::gpu_health::to_string (BudgetStatus value)
std::string_view pulp::tooling::gpu_health::to_string (CacheState value)
std::string_view pulp::tooling::gpu_health::to_string (CacheProvenance value)
std::string_view pulp::tooling::gpu_health::to_string (VisibleState value)
std::string_view pulp::tooling::gpu_health::to_string (PipelineContribution value)
std::string_view pulp::tooling::gpu_health::to_string (CausalAttribution value)
std::string_view pulp::tooling::gpu_health::to_string (StartupDisposition value)
bool pulp::tooling::gpu_health::validate (const HealthReadResult &result, std::string *error=nullptr)
 Validates bounds and cross-field claims that JSON Schema cannot express, including percentile derivation, capture integrity, instrumentation coverage, signature proof, diagnostic-code bindings, and final disposition evidence.
std::string pulp::tooling::gpu_health::to_json (const HealthReadResult &result, bool pretty=false)

Variables

constexpr std::string_view pulp::tooling::gpu_health::kHealthReadSchema = "pulp.gpu-health-read-result.v1"
constexpr std::uint32_t pulp::tooling::gpu_health::kHealthReadVersion = 1
constexpr std::size_t pulp::tooling::gpu_health::kMaximumStartupTrials = 64
constexpr std::size_t pulp::tooling::gpu_health::kMaximumReferenceHosts = 8
constexpr std::size_t pulp::tooling::gpu_health::kMaximumMissingTraceCategories = 16