Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

Common/KWCommon/vtkKWProcessStatistics.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Module:    $RCSfile: vtkKWProcessStatistics.h,v $
00004 
00005   Copyright (c) Kitware, Inc.
00006   All rights reserved.
00007   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00008 
00009      This software is distributed WITHOUT ANY WARRANTY; without even
00010      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00011      PURPOSE.  See the above copyright notice for more information.
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&);  // Not implemented.
00055   void operator=(const vtkKWProcessStatistics&);  // Not implemented.
00056   
00057   long TotalVirtualMemory;
00058   long AvailableVirtualMemory;
00059   long TotalPhysicalMemory;
00060   long AvailablePhysicalMemory;
00061   
00062 };
00063 
00064 #endif
00065 
00066 
00067 
00068 
00069 

Generated on Tue May 30 12:31:37 2006 for ParaView by doxygen 1.3.5