from 20 to 10 seconds, this broke things on ultra-slow CPUs.
I think this is because a single loop of the FP
benchmark took so long that the end time of the int
benchmark had already come and gone.
Fixed this (I hope) by reducing the loop length
by a factor of 10.
client/
cs_benchmark.C
dhrystone.C
whetstone.C
svn path=/trunk/boinc/; revision=12908
of gcc to try and force them to not complain with -Wall but to always
include this, I decided to take a simpler approach. All these strings
now have global linkage. To prevent namespace conflicts they all
have different names. For the record, the variable extension is a hash made of the first ten characters of the md5sum of the file path, eg:
md5hash=`boinc/api/x_opengl.C | md5sum | cut -c 1-10`
svn path=/trunk/boinc/; revision=4979
the top of all .C files. This means that 'string' or 'ident'
run on an executable will tell you the exact file versions used
in building it, since CVS replaces $Id$ with a complete version ID
string. Declaration is volatile so that the compiler won't remove
it even under agressive optimizations.
svn path=/trunk/boinc/; revision=4610