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