Commit Graph

141 Commits

Author SHA1 Message Date
David Anderson 2b8eba0a80 *** empty log message ***
svn path=/trunk/boinc/; revision=6427
2005-06-24 08:12:11 +00:00
David Anderson d37df9e36f *** empty log message ***
svn path=/trunk/boinc/; revision=6286
2005-06-06 19:18:01 +00:00
David Anderson 3828904a84 *** empty log message ***
svn path=/trunk/boinc/; revision=6270
2005-05-31 21:59:29 +00:00
Bruce Allen 0082092c0b Added a utility function to 'print' a text description of errors
in error_numbers.h.  In the future, when adding a new error number
to this file, please update boincerror() in util.C to contain a
short text description of the error.

svn path=/trunk/boinc/; revision=5996
2005-05-01 13:03:18 +00:00
Bruce Allen 2c917cd32d Forgot that dtime() returns double with high precision time.
svn path=/trunk/boinc/; revision=5977
2005-04-29 17:44:08 +00:00
Bruce Allen dcd67f62c3 Fixed update_average() function to do the right thing when the time
between successive calls is small (zero seconds):

Consider the limit
as diff->0, using the first-order Taylor expansion of
exp(x)=1+x+O(x^2).
So to the lowest order in diff:
weight = 1 - diff ln(2) / half_life
so one has
avg += (1-weight)*(work/diff_days)
avg += [diff*ln(2)/half_life] * (work*SECONDS_PER_DAY/diff)
notice that diff cancels out, leaving
avg += [ln(2)/half_life] * work*SECONDS_PER_DAY

svn path=/trunk/boinc/; revision=5976
2005-04-29 16:10:45 +00:00
David Anderson 3e2ad042ba *** empty log message ***
svn path=/trunk/boinc/; revision=5769
2005-04-04 06:02:36 +00:00
David Anderson dc0bf925b8 *** empty log message ***
svn path=/trunk/boinc/; revision=5732
2005-03-29 23:13:28 +00:00
David Anderson 831d674a2d *** empty log message ***
svn path=/trunk/boinc/; revision=5662
2005-03-15 00:00:56 +00:00
David Anderson e18a297017 *** empty log message ***
svn path=/trunk/boinc/; revision=5625
2005-03-10 22:05:42 +00:00
David Anderson c173cac07a *** empty log message ***
svn path=/trunk/boinc/; revision=5597
2005-03-09 00:16:38 +00:00
Rom Walton cacf0368c7 *** empty log message ***
svn path=/trunk/boinc/; revision=5542
2005-02-28 20:17:37 +00:00
David Anderson 7c5a66f9a2 *** empty log message ***
svn path=/trunk/boinc/; revision=5536
2005-02-27 20:06:51 +00:00
David Anderson 435f8edd47 *** empty log message ***
svn path=/trunk/boinc/; revision=5161
2005-01-20 23:22:22 +00:00
David Anderson 2cdb9fc3ef *** empty log message ***
svn path=/trunk/boinc/; revision=5073
2005-01-12 00:50:32 +00:00
David Anderson 98e93a0a5d *** empty log message ***
svn path=/trunk/boinc/; revision=5029
2005-01-08 06:54:03 +00:00
Bruce Allen f31b244f90 Modified CVS id strings. After some fussing with different versions
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
2005-01-02 18:29:53 +00:00
David Anderson 2a337abeb0 *** empty log message ***
svn path=/trunk/boinc/; revision=4976
2005-01-02 08:01:27 +00:00
David Anderson 66950e2822 replace bad filename hashing function
svn path=/trunk/boinc/; revision=4975
2005-01-02 07:44:40 +00:00
David Anderson c417859785 *** empty log message ***
svn path=/trunk/boinc/; revision=4944
2004-12-27 21:14:18 +00:00
David Anderson 7a3f2d4939 *** empty log message ***
svn path=/trunk/boinc/; revision=4809
2004-12-10 19:17:32 +00:00
Bruce Allen a24afe2b67 Moved RCSID strings to the end of all .c, .C and .cpp files as per
David's request.

svn path=/trunk/boinc/; revision=4787
2004-12-08 00:40:19 +00:00
David Anderson 11b088afe2 *** empty log message ***
svn path=/trunk/boinc/; revision=4765
2004-12-06 00:08:04 +00:00
David Anderson 02b6393a11 *** empty log message ***
svn path=/trunk/boinc/; revision=4764
2004-12-05 23:52:17 +00:00
David Anderson 419fec89b4 *** empty log message ***
svn path=/trunk/boinc/; revision=4693
2004-12-01 21:02:49 +00:00
David Anderson 134043fec2 *** empty log message ***
svn path=/trunk/boinc/; revision=4692
2004-12-01 20:56:20 +00:00
Bruce Allen 45525eade1 - Added static volatile const char *BOINCrcsid="$Id$"; string to
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
2004-11-20 07:32:32 +00:00
Rom Walton 369fe9f965 *** empty log message ***
svn path=/trunk/boinc/; revision=4554
2004-11-14 08:29:32 +00:00
David Anderson 85bb901e1f *** empty log message ***
svn path=/trunk/boinc/; revision=4491
2004-11-05 19:38:11 +00:00
David Anderson 110b6b45c6 *** empty log message ***
svn path=/trunk/boinc/; revision=4479
2004-11-02 23:12:29 +00:00
David Anderson e8cb263ff7 *** empty log message ***
svn path=/trunk/boinc/; revision=4470
2004-11-01 23:10:02 +00:00
David Anderson c02e5dfa4a *** empty log message ***
svn path=/trunk/boinc/; revision=4423
2004-10-25 20:16:30 +00:00
David Anderson 161fb2868f *** empty log message ***
svn path=/trunk/boinc/; revision=4189
2004-09-13 18:05:54 +00:00
David Anderson 7f98f8dce1 *** empty log message ***
svn path=/trunk/boinc/; revision=4180
2004-09-10 19:25:44 +00:00
Jeff Cobb 424c45c6e5 *** empty log message ***
svn path=/trunk/boinc/; revision=4176
2004-09-10 00:09:41 +00:00
David Anderson 46385bdae7 *** empty log message ***
svn path=/trunk/boinc/; revision=4175
2004-09-09 23:45:45 +00:00
David Anderson 0d93ecd171 *** empty log message ***
svn path=/trunk/boinc/; revision=4077
2004-08-20 18:29:08 +00:00
David Anderson 6cc2defa20 *** empty log message ***
svn path=/trunk/boinc/; revision=4072
2004-08-17 10:46:37 +00:00
David Anderson 5ddff8f6b8 *** empty log message ***
svn path=/trunk/boinc/; revision=4066
2004-08-16 09:41:02 +00:00
David Anderson 16e140e8d2 *** empty log message ***
svn path=/trunk/boinc/; revision=4057
2004-08-13 10:56:33 +00:00
David Anderson 0885bc4be0 *** empty log message ***
svn path=/trunk/boinc/; revision=4055
2004-08-12 14:58:14 +00:00
David Anderson df63facd48 *** empty log message ***
svn path=/trunk/boinc/; revision=4053
2004-08-12 13:02:25 +00:00
David Anderson dc0ba8f3c0 *** empty log message ***
svn path=/trunk/boinc/; revision=4050
2004-08-12 10:13:01 +00:00
David Anderson 156930d204 *** empty log message ***
svn path=/trunk/boinc/; revision=4003
2004-08-06 11:42:41 +00:00
Daniel Hsu c6e44073b2 *** empty log message ***
svn path=/trunk/boinc/; revision=3989
2004-08-05 19:03:37 +00:00
Daniel Hsu 6e9f32ee1d *** empty log message ***
svn path=/trunk/boinc/; revision=3988
2004-08-05 18:58:22 +00:00
David Anderson 240dcb0dfc *** empty log message ***
svn path=/trunk/boinc/; revision=3985
2004-08-05 11:35:09 +00:00
Karl Chen afd778de8a *** empty log message ***
svn path=/trunk/boinc/; revision=3863
2004-07-13 13:54:09 +00:00
David Anderson 48a5049edb *** empty log message ***
svn path=/trunk/boinc/; revision=3847
2004-07-11 21:54:00 +00:00
Karl Chen 3dd2f3390c *** empty log message ***
svn path=/trunk/boinc/; revision=3821
2004-07-09 14:11:17 +00:00