Changeset View
Changeset View
Standalone View
Standalone View
processcore/process.h
Show First 20 Lines • Show All 206 Lines • ▼ Show 20 Line(s) | 34 | public: | |||
---|---|---|---|---|---|
207 | QString niceLevelAsString() const; ///< Returns a simple translated string of the nice priority. e.g. "Normal", "High", etc | 207 | QString niceLevelAsString() const; ///< Returns a simple translated string of the nice priority. e.g. "Normal", "High", etc | ||
208 | 208 | | |||
209 | QString ioniceLevelAsString() const; ///< Returns a simple translated string of the io nice priority. e.g. "Normal", "High", etc | 209 | QString ioniceLevelAsString() const; ///< Returns a simple translated string of the io nice priority. e.g. "Normal", "High", etc | ||
210 | 210 | | |||
211 | QString ioPriorityClassAsString() const; ///< Returns a translated string of the io nice class. i.e. "None", "Real Time", "Best Effort", "Idle" | 211 | QString ioPriorityClassAsString() const; ///< Returns a translated string of the io nice class. i.e. "None", "Real Time", "Best Effort", "Idle" | ||
212 | 212 | | |||
213 | QString schedulerAsString() const; ///< Returns a translated string of the scheduler class. e.g. "FIFO", "Round Robin", "Batch" | 213 | QString schedulerAsString() const; ///< Returns a translated string of the scheduler class. e.g. "FIFO", "Round Robin", "Batch" | ||
214 | 214 | | |||
215 | QString cGroup() const; | ||||
davidedmundson: may as well make it non-ref now.
I assume that ref pattern existed as an old way of sscanf-ing… | |||||
apol: Just don't return &? I don't understand the comment. | |||||
216 | void setCGroup(const QString &cGroup); ///< Linux Control Group (cgroup) | ||||
217 | | ||||
215 | /** This is the number of 1/1000ths of a second since this | 218 | /** This is the number of 1/1000ths of a second since this | ||
216 | * particular process was last updated compared to when all the processes | 219 | * particular process was last updated compared to when all the processes | ||
217 | * were updated. The purpose is to allow a more fine tracking of the time | 220 | * were updated. The purpose is to allow a more fine tracking of the time | ||
218 | * a process has been running for. | 221 | * a process has been running for. | ||
219 | * | 222 | * | ||
220 | * This is updated in processes.cpp and so shouldn't be touched by the | 223 | * This is updated in processes.cpp and so shouldn't be touched by the | ||
221 | * OS dependant classes. | 224 | * OS dependant classes. | ||
222 | */ | 225 | */ | ||
▲ Show 20 Lines • Show All 41 Lines • Show Last 20 Lines |
may as well make it non-ref now.
I assume that ref pattern existed as an old way of sscanf-ing directly into the member variables skipping the setBlah call.