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

vtkProcessStatistics.h

Go to the documentation of this file.
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 =========================================================================*/
00033 #ifndef __vtkProcessStatistics_h
00034 #define __vtkProcessStatistics_h
00035 
00036 #include "vtkObject.h"
00037 
00038 class VTK_COMMON_EXPORT vtkProcessStatistics : public vtkObject
00039 {
00040 public:
00042   static vtkProcessStatistics *New();
00043 
00044   vtkTypeRevisionMacro(vtkProcessStatistics,vtkObject);
00045 
00046   int    GetProcessSizeInBytes();
00047   double GetProcessCPUTimeInMilliseconds();
00048 
00049 protected:
00050   vtkProcessStatistics();
00051   ~vtkProcessStatistics() {};
00052 
00053   
00054 private:
00055   vtkProcessStatistics(const vtkProcessStatistics&);  // Not implemented.
00056   void operator=(const vtkProcessStatistics&);  // Not implemented.
00057 };
00058 
00059 #endif
00060 
00061