载入中...
搜索中...
未找到
eve::profiler_editing::EditorProfilerCollector类 参考

Optional profiler-module bridge that copies one completed runtime frame. @thread Main-thread only, after the runtime profiler completed frame aggregation. @reentrancy Does not invoke callbacks or scripts. 更多...

#include <ProfilerModel.h>

Public 成员函数

Result< void > collect (const profiler::Profiler &profiler, EditorProfilerModel &model) const
 Copy and ingest the latest runtime frame.
 

详细描述

Optional profiler-module bridge that copies one completed runtime frame. @thread Main-thread only, after the runtime profiler completed frame aggregation. @reentrancy Does not invoke callbacks or scripts.

在文件 ProfilerModel.h 第 126 行定义.

成员函数说明

◆ collect()

Result< void > eve::profiler_editing::EditorProfilerCollector::collect ( const profiler::Profiler &  profiler,
EditorProfilerModel &  model 
) const

Copy and ingest the latest runtime frame.

参数
profilerImmediate borrowed runtime profiler; never retained.
modelEditor-owned destination history.
返回
Runtime capture or model validation status.

在文件 ProfilerModel.cpp 第 138 行定义.

引用了 eve::profiler::Profiler::captureFrame(), eve::Result< T >::failure(), frame, model, eve::NotFound, eve::editing::ruleDiagnostic(), eve::profiler_editing::EditorProfilerFrame::sequence , 以及 status.


该类的文档由以下文件生成: