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

dox/Common/vtkProcessStatistics.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkProcessStatistics.h,v $ 00005 Language: C++ 00006 00007 Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 00008 All rights reserved. 00009 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00010 00011 This software is distributed WITHOUT ANY WARRANTY; without even 00012 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00013 PURPOSE. See the above copyright notice for more information. 00014 00015 =========================================================================*/ 00024 #ifndef __vtkProcessStatistics_h 00025 #define __vtkProcessStatistics_h 00026 00027 #include "vtkObject.h" 00028 00029 class VTK_COMMON_EXPORT vtkProcessStatistics : public vtkObject 00030 { 00031 public: 00033 static vtkProcessStatistics *New(); 00034 00035 vtkTypeRevisionMacro(vtkProcessStatistics,vtkObject); 00036 00037 int GetProcessSizeInBytes(); 00038 float GetProcessCPUTimeInMilliseconds(); 00039 00040 protected: 00041 vtkProcessStatistics(); 00042 ~vtkProcessStatistics() {}; 00043 00044 00045 private: 00046 vtkProcessStatistics(const vtkProcessStatistics&); // Not implemented. 00047 void operator=(const vtkProcessStatistics&); // Not implemented. 00048 }; 00049 00050 #endif 00051 00052