Changeset c6971d in git
- Timestamp:
- Jul 9, 2009, 2:28:31 PM (14 years ago)
- Branches:
- (u'spielwiese', 'f6c3dc58b0df4bd712574325fe76d0626174ad97')
- Children:
- f0edfeefcdd0f9c131187bc82a9af8d0cb7c40df
- Parents:
- b14053699cd89db8efa9555fbd217a30294502cc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/timer.cc
rb14053 rc6971d 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: timer.cc,v 1. 9 2009-01-29 16:57:02Singular Exp $ */4 /* $Id: timer.cc,v 1.10 2009-07-09 12:28:31 Singular Exp $ */ 5 5 6 6 /* … … 182 182 double f = ((double)curr) / (double)HZ; 183 183 #endif 184 if (f > mintime)184 if (f/timer_resolution > mintime) 185 185 { 186 186 #ifdef EXTEND_TIMER_D 187 Print("//%s %.2f sec (%d) >>%s<<\n" ,v ,f,iiOp,my_yylinebuf); 188 #else 189 Print("//%s %.2f sec\n" ,v ,f); 187 Print("//%s %.2f/%d sec (%d) >>%s<<\n" ,v ,f,(int)timer_resolution,iiOp,my_yylinebuf); 188 #else 189 if (timer_resolution==(double)1.0) 190 Print("//%s %.2f sec\n" ,v ,f); 191 else 192 Print("//%s %.2f/%d sec\n" ,v ,f,(int)timer_resolution); 190 193 #endif 191 194 }
Note: See TracChangeset
for help on using the changeset viewer.