VTK
vtkProcessStatistics.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkProcessStatistics.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
20 #ifndef __vtkProcessStatistics_h
21 #define __vtkProcessStatistics_h
22 
23 #include "vtkObject.h"
24 
26 {
27 public:
29  static vtkProcessStatistics *New();
30 
32 
33  int GetProcessSizeInBytes();
34  double GetProcessCPUTimeInMilliseconds();
35 
36 protected:
39 
40 
41 private:
42  vtkProcessStatistics(const vtkProcessStatistics&); // Not implemented.
43  void operator=(const vtkProcessStatistics&); // Not implemented.
44 };
45 
46 #endif
47 
48 
get statistics such as cpu and memory usage
abstract base class for most VTK objects
Definition: vtkObject.h:60
#define VTK_COMMON_EXPORT
static vtkObject * New()