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

cg_stats.h

Go to the documentation of this file.
00001 
00008 #ifndef _CG_STATS
00009 #define _CG_STATS
00010 
00011 #include <config.h>
00012 CPS_START_NAMESPACE
00013 
00014 class CgStats {
00015 public:
00016   int cg_calls;
00017 
00018   int cg_iter_total;
00019   int cg_iter_min;
00020   int cg_iter_max;
00021 
00022   Float cg_iter_av;
00023 
00024   Float true_rsd_total;
00025   Float true_rsd_av;
00026   Float true_rsd_min;
00027   Float true_rsd_max;
00028 
00029   CgStats() {
00030     init();
00031   }
00032 
00033   void init() {
00034     cg_calls = 0;
00035     cg_iter_total = 0;
00036     cg_iter_av = 0.0;
00037     cg_iter_max = 0;
00038     cg_iter_min = 1000000;
00039 
00040     true_rsd_total = 0.0;
00041     true_rsd_av = 0.0;
00042     true_rsd_min = 3.4e38;
00043     true_rsd_max = 0.0;
00044   }
00045 
00046 
00047 };
00048 
00049 CPS_END_NAMESPACE
00050 
00051 #endif /* !_CG_STATS */

Generated on Sat Oct 10 14:11:10 2009 for Columbia Physics System by  doxygen 1.3.9.1