summaryrefslogtreecommitdiffstats
path: root/veslibrary/ves_cpplibrary/src/lib/encode/include/XProcessStats.h
diff options
context:
space:
mode:
Diffstat (limited to 'veslibrary/ves_cpplibrary/src/lib/encode/include/XProcessStats.h')
-rwxr-xr-xveslibrary/ves_cpplibrary/src/lib/encode/include/XProcessStats.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/veslibrary/ves_cpplibrary/src/lib/encode/include/XProcessStats.h b/veslibrary/ves_cpplibrary/src/lib/encode/include/XProcessStats.h
new file mode 100755
index 0000000..e92bc25
--- /dev/null
+++ b/veslibrary/ves_cpplibrary/src/lib/encode/include/XProcessStats.h
@@ -0,0 +1,32 @@
+#pragma once
+
+#include "XEvent.h"
+
+namespace vagt
+{
+ namespace encode
+ {
+ class XProcessStats
+ {
+ public:
+ XProcessStats(const XString& processIdentifier);
+
+ virtual void setForkRate(XNumber forkRate);
+ virtual void setPsStateStopped(XNumber psStateStopped);
+ virtual void setPsStatePaging(XNumber psStatePaging);
+ virtual void setPsStateSleeping(XNumber psStateSleeping);
+ virtual void setProcessIdentifier(const XString& processIdentifier);
+ virtual void setPsStateBlocked(XNumber psStateBlocked);
+ virtual void setPsStateZombie(XNumber psStateZombie);
+ virtual void setPsStateRunning(XNumber psStateRunning);
+
+ std::shared_ptr<XProcessStats> imp_;
+
+ protected:
+ XProcessStats();
+ };
+
+ using XArrayOfXProcessStats = std::vector<XProcessStats>;
+ }
+}
+ \ No newline at end of file