mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-18 18:55:29 +02:00
Add MAX profiler option
This commit is contained in:
@@ -44,6 +44,7 @@ public:
|
||||
|
||||
void add(const std::string &name, float value);
|
||||
void avg(const std::string &name, float value);
|
||||
void max(const std::string &name, float value);
|
||||
void clear();
|
||||
|
||||
float getValue(const std::string &name) const;
|
||||
@@ -92,7 +93,8 @@ private:
|
||||
enum ScopeProfilerType{
|
||||
SPT_ADD,
|
||||
SPT_AVG,
|
||||
SPT_GRAPH_ADD
|
||||
SPT_GRAPH_ADD,
|
||||
SPT_MAX
|
||||
};
|
||||
|
||||
class ScopeProfiler
|
||||
|
Reference in New Issue
Block a user