17#include "AUI/Common/AColor.h"
18#include "AUI/Common/AString.h"
19#include "AUI/Common/AVector.h"
39 std::string verboseInfo;
40 std::chrono::high_resolution_clock::duration duration = std::chrono::high_resolution_clock::duration(0);
58 void addSection(Data section) {
59 mChildren << std::move(section);
74 ~APerformanceSection() =
default;
79 static APerformanceSection*& current() noexcept {
80 thread_local APerformanceSection* v =
nullptr;
86 std::string mVerboseInfo;
87 std::chrono::high_resolution_clock::time_point mStart;
88 AVector<Data> mChildren;
90 APerformanceSection* mParent;
92 static AColor generateColorFromName(
const char* name);
Represents a 4-component floating point color (RGBA).
Definition AColor.h:26
Utility wrapper implementing the stack-allocated (fast) optional idiom.
Definition AOptional.h:32
A std::vector with AUI extensions.
Definition AVector.h:39