Commit Graph

741 Commits

Author SHA1 Message Date
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 55d3b1c3b3 *** empty log message ***
svn path=/trunk/boinc/; revision=5964
2005-04-28 23:30:03 +00:00
David Anderson 58e3317afb *** empty log message ***
svn path=/trunk/boinc/; revision=5963
2005-04-28 23:22:14 +00:00
David Anderson 64b871f819 *** empty log message ***
svn path=/trunk/boinc/; revision=5962
2005-04-28 23:19:58 +00:00
Rom Walton 6d23cf3586 *** empty log message ***
svn path=/trunk/boinc/; revision=5955
2005-04-28 17:43:13 +00:00
David Anderson b8e12020e9 *** empty log message ***
svn path=/trunk/boinc/; revision=5942
2005-04-27 06:55:28 +00:00
David Anderson fcc0732098 *** empty log message ***
svn path=/trunk/boinc/; revision=5917
2005-04-21 23:53:39 +00:00
David Anderson 33baaccab7 *** empty log message ***
svn path=/trunk/boinc/; revision=5897
2005-04-19 20:53:04 +00:00
David Anderson 65c91c3de7 *** empty log message ***
svn path=/trunk/boinc/; revision=5893
2005-04-19 19:50:58 +00:00
David Anderson 5a844bff5d *** empty log message ***
svn path=/trunk/boinc/; revision=5885
2005-04-18 05:37:31 +00:00
David Anderson bdfa65415d *** empty log message ***
svn path=/trunk/boinc/; revision=5883
2005-04-18 04:32:22 +00:00
David Anderson a714444b12 *** empty log message ***
svn path=/trunk/boinc/; revision=5878
2005-04-16 21:33:34 +00:00
Rom Walton 10d54b1be7 *** empty log message ***
svn path=/trunk/boinc/; revision=5875
2005-04-16 04:01:01 +00:00
Rom Walton a323c4cdf8 *** empty log message ***
svn path=/trunk/boinc/; revision=5868
2005-04-15 20:49:23 +00:00
David Anderson e17f856eeb *** empty log message ***
svn path=/trunk/boinc/; revision=5867
2005-04-15 20:07:42 +00:00
Rom Walton 3d371a7a27 *** empty log message ***
svn path=/trunk/boinc/; revision=5864
2005-04-15 19:14:28 +00:00
Rom Walton 907a7cb7f0 *** empty log message ***
svn path=/trunk/boinc/; revision=5863
2005-04-15 19:01:25 +00:00
David Anderson ff226313c3 *** empty log message ***
svn path=/trunk/boinc/; revision=5862
2005-04-15 18:50:11 +00:00
Rom Walton 94f469db26 *** empty log message ***
svn path=/trunk/boinc/; revision=5861
2005-04-15 18:45:06 +00:00
Rom Walton 925f06f829 *** empty log message ***
svn path=/trunk/boinc/; revision=5858
2005-04-15 18:08:05 +00:00
Rom Walton c2f9448fde *** empty log message ***
svn path=/trunk/boinc/; revision=5857
2005-04-15 17:52:42 +00:00
Rom Walton 10b314a1de *** empty log message ***
svn path=/trunk/boinc/; revision=5847
2005-04-13 22:38:37 +00:00
David Anderson 534ead4118 *** empty log message ***
svn path=/trunk/boinc/; revision=5846
2005-04-13 18:38:55 +00:00
Rom Walton 9471802db1 *** empty log message ***
svn path=/trunk/boinc/; revision=5844
2005-04-12 23:58:01 +00:00
David Anderson 1b0439c9a9 *** empty log message ***
svn path=/trunk/boinc/; revision=5840
2005-04-12 21:54:40 +00:00
David Anderson 76e15132fc *** empty log message ***
svn path=/trunk/boinc/; revision=5828
2005-04-11 19:29:36 +00:00
Bruce Allen 06a2ff4e4e Remove redundant EXTRA_DIST
svn path=/trunk/boinc/; revision=5823
2005-04-11 08:04:03 +00:00
David Anderson 5eac73217c *** empty log message ***
svn path=/trunk/boinc/; revision=5822
2005-04-11 07:06:52 +00:00
David Anderson 971b58e501 *** empty log message ***
svn path=/trunk/boinc/; revision=5821
2005-04-11 05:47:41 +00:00
David Anderson ac5f4b014c *** empty log message ***
svn path=/trunk/boinc/; revision=5819
2005-04-10 18:36:12 +00:00
David Anderson 50bf271c72 *** empty log message ***
svn path=/trunk/boinc/; revision=5817
2005-04-10 00:16:20 +00:00
David Anderson b24e4240d7 *** empty log message ***
svn path=/trunk/boinc/; revision=5815
2005-04-09 02:21:11 +00:00
David Anderson dc6d4d169a *** empty log message ***
svn path=/trunk/boinc/; revision=5814
2005-04-09 00:39:31 +00:00
David Anderson cd1dccd849 *** empty log message ***
svn path=/trunk/boinc/; revision=5813
2005-04-08 23:40:50 +00:00
David Anderson d9672603eb *** empty log message ***
svn path=/trunk/boinc/; revision=5812
2005-04-08 22:52:40 +00:00
Rom Walton 59614e090e *** empty log message ***
svn path=/trunk/boinc/; revision=5799
2005-04-08 04:23:37 +00:00
David Anderson 67f6558e04 *** empty log message ***
svn path=/trunk/boinc/; revision=5785
2005-04-06 19:41:31 +00:00
David Anderson 47db550eb2 *** empty log message ***
svn path=/trunk/boinc/; revision=5774
2005-04-05 00:32:24 +00:00
David Anderson 5d7760d7b2 *** empty log message ***
svn path=/trunk/boinc/; revision=5773
2005-04-04 21:14:49 +00:00
David Anderson 3e2ad042ba *** empty log message ***
svn path=/trunk/boinc/; revision=5769
2005-04-04 06:02:36 +00:00
Rom Walton 6708340111 *** empty log message ***
svn path=/trunk/boinc/; revision=5767
2005-04-04 00:35:56 +00:00
David Anderson 733f296261 *** empty log message ***
svn path=/trunk/boinc/; revision=5766
2005-04-03 22:01:18 +00:00
David Anderson 7a6caef6cb *** empty log message ***
svn path=/trunk/boinc/; revision=5754
2005-04-01 22:30:08 +00:00
David Anderson 3bc9adca43 *** empty log message ***
svn path=/trunk/boinc/; revision=5747
2005-03-30 22:38:37 +00:00
David Anderson ce48424984 *** empty log message ***
svn path=/trunk/boinc/; revision=5745
2005-03-30 21:11:49 +00:00
Rom Walton 36c63e8a4b *** empty log message ***
svn path=/trunk/boinc/; revision=5741
2005-03-30 09:24:31 +00:00
David Anderson 4aeb37a776 *** empty log message ***
svn path=/trunk/boinc/; revision=5735
2005-03-30 00:01:34 +00:00
David Anderson da9f04ebe0 *** empty log message ***
svn path=/trunk/boinc/; revision=5734
2005-03-29 23:56:50 +00:00