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

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 =========================================================================*/
00037 #ifndef __vtkProcessStatistics_h
00038 #define __vtkProcessStatistics_h
00039 
00040 #include "vtkObject.h"
00041 
00042 class VTK_COMMON_EXPORT vtkProcessStatistics : public vtkObject
00043 {
00044 public:
00046   static vtkProcessStatistics *New();
00047 
00048   vtkTypeRevisionMacro(vtkProcessStatistics,vtkObject);
00049 
00050   int   GetProcessSizeInBytes();
00051   float GetProcessCPUTimeInMilliseconds();
00052 
00053 protected:
00054   vtkProcessStatistics();
00055   ~vtkProcessStatistics() {};
00056 
00057   
00058 private:
00059   vtkProcessStatistics(const vtkProcessStatistics&);  // Not implemented.
00060   void operator=(const vtkProcessStatistics&);  // Not implemented.
00061 };
00062 
00063 #endif
00064 
00065