Diff for libplaton/platon/misc/rdtsc.h between version 1.4 and 1.5
| version 1.4, 2002/07/16 03:25:43 |
version 1.5, 2002/07/16 22:26:16 |
|
|
| if ((type) == RDTSC_AVG) { \ |
if ((type) == RDTSC_AVG) { \ |
| /* compute average value on the fly */ \ |
/* compute average value on the fly */ \ |
| /* can't be optimized due overflow */ \ |
/* can't be optimized due overflow */ \ |
| __result = (__result * ((float)__i / ((float)__i+1)) \ |
__result = (__result * ((float) __i / ((float) __i + 1)) \ |
| + (float)__end / ((float)__i+1)); \ |
+ (float) __end / ((float) __i + 1)); \ |
| } \ |
} \ |
| else { \ |
else { \ |
| if (! __i \ |
if (! __i \ |
Platon Group <platon@platon.org> http://platon.org/
|
|