8#ifndef META_OCEAN_SYSTEM_PROCESS_H
9#define META_OCEAN_SYSTEM_PROCESS_H
int64_t loadTime_
Processor user time of most recent processor load request.
Definition Process.h:116
Process()
Creates a new process object.
static ProcessPriority priority()
Returns the priority of the process.
static bool setPriority(const ProcessPriority priority)
Sets the priority of the process.
static double entireProcessorTime()
Returns the entire processor time of this process since the creation.
static double entireProcessLiveTime()
Returns the live time of this process since the creation.
float currentProcessorLoad() const
Returns the processor load since the last call to this function.
int64_t loadTimestamp_
Time of most recent processor load request.
Definition Process.h:113
const unsigned int numberCores_
Number of real CPU cores available in this system.
Definition Process.h:119
static long long processStartTime()
Returns the start time of this process since 01.01.1970 00:00:00 in UTC time.
float averageProcessorLoad() const
Returns the average processor load of this process since the creation.
ProcessPriority
Definition of different process priority values.
Definition Process.h:35
@ PRIORITY_NORMAL
The process has a normal priority.
Definition Process.h:41
@ PRIORITY_BELOW_NORMAL
The process has a priority below normal.
Definition Process.h:39
@ PRIORITY_REALTIME
The process has a realtime priority.
Definition Process.h:47
@ PRIORITY_IDLE
The process runs if the system is idle.
Definition Process.h:37
@ PRIORITY_HIGH
The process has a high priority.
Definition Process.h:45
@ PRIORITY_ABOVE_NORMAL
The process has a priority above normal.
Definition Process.h:43
static unsigned int currentProcessId()
Returns the process id of the current (calling) process.
Namespace of the System library.
Definition system/Memory.h:19
The namespace covering the entire Ocean framework.
Definition Accessor.h:15