载入中...
搜索中...
未找到
ProfilerQuery.h
浏览该文件的文档.
1#pragma once
2
3#include "common/Export.h"
4
5#include <string>
6
7namespace eve {
8
21public:
22 static constexpr const char* capabilityName = "IProfilerQuery";
23
25 virtual ~IProfilerQuery() = default;
26
28 [[nodiscard]] virtual bool enabled() const = 0;
29
44 [[nodiscard]] virtual std::string frameJson() const = 0;
45
47 [[nodiscard]] virtual std::string textReport() const = 0;
48};
49
50} // namespace eve
#define EVENGINE_API
宿主(eve / libmain)导出宏;插件从进程导入同一批符号。
Definition Export.h:31
Runtime profiler read surface (provided by the profiler module).
virtual std::string textReport() const =0
Human-readable per-zone report of the last completed frame.
virtual std::string frameJson() const =0
Last completed frame as compact JSON.
virtual bool enabled() const =0
Whether the profiler is currently collecting zones.
virtual ~IProfilerQuery()=default
I profiler query.
Build metadata (engine git commit, build time, third-party version).
Definition Build.cpp:16