载入中...
搜索中...
未找到
ProfilerRuntime.cpp
浏览该文件的文档.
static Result failure(Status status)
Construct a failed result from a structured status.
Definition Result.h:175
UUID-backed identifier adapter for legacy textual boundaries.
Definition Identity.h:314
Script-facing wrapper around the engine-wide profiler core (eve::prof, see common/Profile....
Definition Profiler.h:67
eve::Result< ProfilerFrameSnapshot > captureFrame() const
Copy the latest completed frame for editor and diagnostics consumers.
Definition Profiler.cpp:100
Result< void > collect(const profiler::Profiler &profiler, EditorProfilerModel &model) const
Copy and ingest the latest runtime frame.
Definition ProfilerRuntime.cpp:9
Bounded owning profiler history and deterministic presentation queries. @thread Main-thread only....
Definition ProfilerModel.h:79
Diagnostic ruleDiagnostic(eve::DiagnosticCode code, RuleId rule, DiagnosticSeverity severity, std::string message)
Build a common diagnostic carrying an open editing rule identity.
Definition EditingResult.h:25
Definition ProfilerModel.cpp:9
@ NotFound
One owning completed-frame sample retained by the editor.
Definition ProfilerModel.h:35
bool gpuTimingAvailable
Definition ProfilerModel.h:39
double cpuFrameMs
Definition ProfilerModel.h:37
std::uint64_t sequence
Definition ProfilerModel.h:36
std::vector< EditorProfilerZone > zones
Definition ProfilerModel.h:40
double gpuFrameMs
Definition ProfilerModel.h:38