00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00019 #ifndef __vtkKWProcessStatistics_h
00020 #define __vtkKWProcessStatistics_h
00021
00022 #include "vtkObject.h"
00023
00024 class VTK_EXPORT vtkKWProcessStatistics : public vtkObject
00025 {
00026 public:
00028
00029 static vtkKWProcessStatistics *New();
00030 vtkTypeRevisionMacro(vtkKWProcessStatistics,vtkObject);
00031 void PrintSelf(ostream& os, vtkIndent indent);
00033
00034 int GetProcessSizeInBytes();
00035 float GetProcessCPUTimeInMilliseconds();
00036
00038 int QueryMemory();
00039
00041
00042 long GetTotalVirtualMemory();
00043 long GetAvailableVirtualMemory();
00044 long GetTotalPhysicalMemory();
00045 long GetAvailablePhysicalMemory();
00047
00048 protected:
00049 vtkKWProcessStatistics();
00050 ~vtkKWProcessStatistics() {};
00051
00052
00053 private:
00054 vtkKWProcessStatistics(const vtkKWProcessStatistics&);
00055 void operator=(const vtkKWProcessStatistics&);
00056
00057 long TotalVirtualMemory;
00058 long AvailableVirtualMemory;
00059 long TotalPhysicalMemory;
00060 long AvailablePhysicalMemory;
00061
00062 };
00063
00064 #endif
00065
00066
00067
00068
00069