8 #ifndef META_OCEAN_PLATFORM_ANDROID_PROCESSOR_MONITOR_H
9 #define META_OCEAN_PLATFORM_ANDROID_PROCESSOR_MONITOR_H
65 inline unsigned int installedCores()
const;
71 inline double updateRate()
const;
77 inline void setUpdateRate(
const double rate);
113 unsigned int installedCores_ = 0u;
116 double updateRate_ = 0.01;
160 inline double duration()
const;
166 inline unsigned int measurements()
const;
172 inline double averageActiveCores()
const;
178 inline double averageFrequency()
const;
184 inline double averagePerformanceRate()
const;
190 inline double minimalFrequency()
const;
196 inline double maximalFrequency()
const;
204 double duration_ = 0.0;
207 double averageActiveCores_ = -1.0;
210 double averageFrequency_ = -1.0;
213 double minimalFrequency_ = -1.0;
216 double maximalFrequency_ = -1.0;
219 unsigned int measurements_ = 0u;
238 ocean_assert(rate > 0.0);
271 if (maxPossibleFrequency <= 0.0)
This class implements a recursive lock object.
Definition: Lock.h:31
This template class is the base class for all singleton objects.
Definition: Singleton.h:71
This class implements a thread.
Definition: Thread.h:115
This class implements a timestamp.
Definition: Timestamp.h:36
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15