Changeset View
Changeset View
Standalone View
Standalone View
processui/ProcessModel_p.h
Show First 20 Lines • Show All 197 Lines • ▼ Show 20 Line(s) | 148 | #endif | |||
---|---|---|---|---|---|
198 | ProcessModel::IoInformation mIoInformation; | 198 | ProcessModel::IoInformation mIoInformation; | ||
199 | 199 | | |||
200 | /** The hostname */ | 200 | /** The hostname */ | ||
201 | QString mHostName; | 201 | QString mHostName; | ||
202 | bool mHaveTimer; | 202 | bool mHaveTimer; | ||
203 | int mTimerId; | 203 | int mTimerId; | ||
204 | QList<long> mPidsToUpdate; ///< A list of pids that we need to emit dataChanged() for regularly | 204 | QList<long> mPidsToUpdate; ///< A list of pids that we need to emit dataChanged() for regularly | ||
205 | 205 | | |||
206 | static const int MAX_HIST_ENTRIES = 100; | ||||
207 | static const int MIN_HIST_AGE = 200; ///< If the latest history entry is at least this ms old, a new one gets added | ||||
208 | /** Storage for the history entries. We need one per percentage column. */ | ||||
209 | QHash<KSysGuard::Process *, QVector<ProcessModel::PercentageHistoryEntry>> mMapProcessCPUHistory; | ||||
210 | | ||||
206 | #ifdef HAVE_XRES | 211 | #ifdef HAVE_XRES | ||
207 | bool mHaveXRes; ///< True if the XRes extension is available at run time | 212 | bool mHaveXRes; ///< True if the XRes extension is available at run time | ||
208 | QMap<qlonglong, XID> mXResClientResources; | 213 | QMap<qlonglong, XID> mXResClientResources; | ||
209 | #endif | 214 | #endif | ||
210 | 215 | | |||
211 | bool mMovingRow; | 216 | bool mMovingRow; | ||
212 | bool mRemovingRow; | 217 | bool mRemovingRow; | ||
213 | bool mInsertingRow; | 218 | bool mInsertingRow; | ||
214 | 219 | | |||
215 | bool mIsX11; | 220 | bool mIsX11; | ||
216 | 221 | | |||
217 | ProcessModel* q; | 222 | ProcessModel* q; | ||
218 | }; | 223 | }; | ||
219 | 224 | | |||
220 | #endif | 225 | #endif |