15 std::vector<InstrumentPtr>&& instruments,
17 : m_EventName(eventName)
18 , m_Profiler(profiler)
20 , m_BackendId(backendId)
21 , m_Instruments(
std::move(instruments))
22 , m_ProfilingGuid(guid)
27 : m_EventName(std::move(other.m_EventName))
28 , m_Profiler(other.m_Profiler)
29 , m_Parent(other.m_Parent)
30 , m_BackendId(other.m_BackendId)
31 , m_Instruments(std::move(other.m_Instruments))
32 , m_ProfilingGuid(other.m_ProfilingGuid)
42 for (
auto& instrument : m_Instruments)
50 for (
auto& instrument : m_Instruments)
58 std::vector<Measurement> measurements;
59 for (
auto& instrument : m_Instruments)
61 for (
auto& measurement : instrument->GetMeasurements())
63 measurements.emplace_back(std::move(measurement));
96 return m_ProfilingGuid;
107 m_EventName = other.m_EventName;
108 m_Profiler = other.m_Profiler;
109 m_Parent = other.m_Parent;
110 m_BackendId = other.m_BackendId;
111 m_ProfilingGuid = other.m_ProfilingGuid;
112 other.m_Profiler =
nullptr;
113 other.m_Parent =
nullptr;