3#include <Common/primitive_type.h>
26 m_totalWork(0), m_workDone(0), m_numSamplesTaken(0), m_numMsElapsed(0)
30 m_totalWork (other.m_totalWork.load()),
31 m_workDone (other.m_workDone.load()),
32 m_numSamplesTaken(other.m_numSamplesTaken.load()),
33 m_numMsElapsed (other.m_numMsElapsed.load())
38 m_totalWork = totalWork;
43 m_workDone = workDone;
48 m_numSamplesTaken = numSamples;
53 m_numMsElapsed = numMsElapsed;
74 m_totalWork = rhs.m_totalWork.load();
75 m_workDone = rhs.m_workDone.load();
76 m_numSamplesTaken = rhs.m_numSamplesTaken.load();
77 m_numMsElapsed = rhs.m_numMsElapsed.load();
83 std::atomic_uint32_t m_totalWork;
84 std::atomic_uint32_t m_workDone;
85 std::atomic_uint32_t m_numSamplesTaken;
86 std::atomic_uint32_t m_numMsElapsed;
Definition Statistics.h:14
uint32 workDone
Definition Statistics.h:17
Record()
Definition Statistics.h:21
uint32 totalWork
Definition Statistics.h:16
uint32 numSamplesTaken
Definition Statistics.h:18
uint32 numMsElapsed
Definition Statistics.h:19
Definition Statistics.h:11
void setNumSamplesTaken(const uint32 numSamples)
Definition Statistics.h:46
Statistics()
Definition Statistics.h:25
void setTotalWork(const uint32 totalWork)
Definition Statistics.h:36
Record record() const
Definition Statistics.h:61
void setNumMsElapsed(const uint32 numMsElapsed)
Definition Statistics.h:51
void setWorkDone(const uint32 workDone)
Definition Statistics.h:41
Statistics(const Statistics &other)
Definition Statistics.h:29
void incrementWorkDone()
Definition Statistics.h:56
Statistics & operator=(const Statistics &rhs)
Definition Statistics.h:72
The root for all renderer implementations.
Definition EEngineProject.h:6