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