[cig-commits] r4518 - mc/3D/CitcomS/trunk/lib

tan2 at geodynamics.org tan2 at geodynamics.org
Tue Sep 12 13:50:16 PDT 2006


Author: tan2
Date: 2006-09-12 13:50:16 -0700 (Tue, 12 Sep 2006)
New Revision: 4518

Modified:
   mc/3D/CitcomS/trunk/lib/global_defs.h
Log:
Fixed the bug of negative CPU time, which is caused by storing the walltime in insufficient precision 


Modified: mc/3D/CitcomS/trunk/lib/global_defs.h
===================================================================
--- mc/3D/CitcomS/trunk/lib/global_defs.h	2006-09-12 15:38:29 UTC (rev 4517)
+++ mc/3D/CitcomS/trunk/lib/global_defs.h	2006-09-12 20:50:16 UTC (rev 4518)
@@ -580,12 +580,8 @@
     float  vdotv;
     float  nond_av_heat_fl;
     float  nond_av_adv_hfl;
-    float  cpu_time_at_start;
-    float  cpu_time_at_last_cycle;
-    float  cpu_time_elapsed;
-    float  cpu_time_on_vp_it;
-    float  cpu_time_on_forces;
-    float  cpu_time_on_mg_maps;
+    double cpu_time_at_start;
+    double cpu_time_at_last_cycle;
     float  tpgkmag;
     float  grvkmag;
 



More information about the cig-commits mailing list