Immutable first observation of settled presentation-device loss diagnostics.
More...
#include "donner/editor/gui/EditorWindow.h"
|
| struct | Observation |
| | Expensive owner-thread details acquired only for the first settled loss. More...
|
|
|
using | Clock = std::chrono::steady_clock |
| | Monotonic clock that timestamps the observation.
|
|
template<typename ObservationProvider>
requires std::invocable<ObservationProvider&> && std::same_as<std::invoke_result_t<ObservationProvider&>, Observation> |
| bool | observe (const gpu::DeviceLossSnapshot &candidate, ObservationProvider &&provider) |
| | Retains the first settled loss and rejects healthy, provisional, and repeated observations.
|
|
|
bool | observed = false |
| | Whether a settled loss has been retained.
|
|
gpu::DeviceLossSnapshot | loss |
| | Attribution published by the winning declaration.
|
|
Clock::time_point | observedAt |
| | First observation time, not physical loss time.
|
|
std::uint64_t | completedSerial = 0 |
| | Runtime completion at first observation.
|
|
std::uint64_t | submittedSerial = 0 |
| | Last submitted serial at first observation.
|
|
std::uint64_t | oldestSerial = 0 |
| | Oldest presentation serial at first observation.
|
|
RcString | browserReason |
| | Browser-retained reason, empty for non-browser/explicit loss.
|
Immutable first observation of settled presentation-device loss diagnostics.
◆ donner::editor::gui::internal::PresentationDeviceLossRecord::Observation
| struct donner::editor::gui::internal::PresentationDeviceLossRecord::Observation |
Expensive owner-thread details acquired only for the first settled loss.
| Class Members |
|
RcString |
browserReason |
|
|
uint64_t |
completedSerial = 0 |
|
|
time_point |
observedAt |
|
|
uint64_t |
oldestSerial = 0 |
|
|
uint64_t |
submittedSerial = 0 |
|
The documentation for this struct was generated from the following file: