Commit Graph

5779 Commits

Author SHA1 Message Date
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
Charlie Fenton b9dc151bb7 Restored intended changes when bad line endings were introduced.
svn path=/trunk/boinc/; revision=5975
2005-04-29 08:32:20 +00:00
Charlie Fenton 5ecc2dabc7 Undo checkin withbad line endings.
svn path=/trunk/boinc/; revision=5974
2005-04-29 08:14:55 +00:00
Charlie Fenton 06fcf21a6d *** empty log message ***
svn path=/trunk/boinc/; revision=5973
2005-04-29 07:33:42 +00:00
Rom Walton f149272d46 *** empty log message ***
svn path=/trunk/boinc/; revision=5972
2005-04-29 06:59:33 +00:00
David Anderson d8a43ac0fe *** empty log message ***
svn path=/trunk/boinc/; revision=5971
2005-04-29 06:55:44 +00:00
Rom Walton c2a04e9549 *** empty log message ***
svn path=/trunk/boinc/; revision=5970
2005-04-29 06:48:25 +00:00
Rom Walton dc53047032 *** empty log message ***
svn path=/trunk/boinc/; revision=5969
2005-04-29 06:31:28 +00:00
Charlie Fenton 27e7336d5e *** empty log message ***
svn path=/trunk/boinc/; revision=5968
2005-04-29 05:50:23 +00:00
Rom Walton 1094ff702a *** empty log message ***
svn path=/trunk/boinc/; revision=5967
2005-04-29 01:27:34 +00:00
Rom Walton 27cf3966a1 *** empty log message ***
svn path=/trunk/boinc/; revision=5966
2005-04-29 00:47:46 +00:00
David Anderson 1b4c76f6e4 *** empty log message ***
svn path=/trunk/boinc/; revision=5965
2005-04-28 23:40:40 +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
Eric J. Korpela 3e45437b18 Clear the autom4te cache for builds for separate platorms in the same directory
structure.

svn path=/trunk/boinc/; revision=5961
2005-04-28 22:04:32 +00:00
Eric J. Korpela 9664cb7d06 Added libtool 1.5.6
Updated config.sub and config.guess

svn path=/trunk/boinc/; revision=5960
2005-04-28 21:56:48 +00:00
Eric J. Korpela 7eda005af0 Major mods to configure script to clean things up a bit, fix for MacOS and fix
for Solaris static linking.

svn path=/trunk/boinc/; revision=5959
2005-04-28 21:52:47 +00:00
Eric J. Korpela 31b4aa1ffb New autoconf macro:
BOINC_GETSOCKOPT_TYPE:  Determines the type of parameter 4 of getsockopt().

svn path=/trunk/boinc/; revision=5958
2005-04-28 21:45:21 +00:00
Eric J. Korpela e64da1f791 New autoconf macros:
SAH_CHECK_LIB:  Like AC_CHECK_LIB(), except it checks STATIC_LIB_LIST
for libraries that should be linked statically.  Static libraries are attempted
to be linked with fully qualified path.  If that fails, the static flags
(-Wl,-Bstatic) are used.  If no static library is found, the library is linked
dynamically.

SAH_STATICIZE_LDFLAGS:  Goes through a given set of LDFLAGS and determines with
libraries should be linked statically based upon STATIC_LIB_LIST, then calls
SAH_CHECK_LIB on every library.

SAH_DEFAULT_BITNESS:  On architectures that support both 32 and 64 bit
executables, this determines the current default model (including any CFLAGS
settings).

SAH_OPTION_BITNESS:  Sets up a configure option to set the compiler -m64 or -m32
(or equivalent) flags for 32/64 bit compilation.

svn path=/trunk/boinc/; revision=5957
2005-04-28 21:42:05 +00:00
Eric J. Korpela 61ad976802 modified SAH_HEADER_STDCXX to run quickly on machines that have all of the
C++ standard headers

svn path=/trunk/boinc/; revision=5956
2005-04-28 21:14:30 +00:00
Rom Walton 6d23cf3586 *** empty log message ***
svn path=/trunk/boinc/; revision=5955
2005-04-28 17:43:13 +00:00
Janus B. Kristensen be19d04a05 A few minor updates
svn path=/trunk/boinc/; revision=5954
2005-04-28 10:48:40 +00:00
Janus B. Kristensen 53fe1e1ed2 Lessen the load from bugs in third party scripts that continuously look up non-existant users.
svn path=/trunk/boinc/; revision=5953
2005-04-28 09:34:06 +00:00
Janus B. Kristensen 0223fb3a22 Rating can now only be done if the rules for rating in the DB have been followed.
svn path=/trunk/boinc/; revision=5952
2005-04-28 09:33:07 +00:00
Janus B. Kristensen 5f214a026d Quoting is now done using blockquote, loads of get_int/get_str changes. Moderators can now view hidden threads if going direct by id.
svn path=/trunk/boinc/; revision=5951
2005-04-28 09:32:22 +00:00
Janus B. Kristensen bc302dfff9 Added blockquote and u as valid tags
svn path=/trunk/boinc/; revision=5950
2005-04-28 09:30:37 +00:00
Charlie Fenton ecc4376689 *** empty log message ***
svn path=/trunk/boinc/; revision=5949
2005-04-28 08:51:34 +00:00
Rom Walton 37272d8168 *** empty log message ***
svn path=/trunk/boinc/; revision=5948
2005-04-27 18:04:42 +00:00
Janus B. Kristensen c82fd585d5 Minor correction that will take "holes" in special user bitfield into account.
svn path=/trunk/boinc/; revision=5947
2005-04-27 15:13:44 +00:00
Charlie Fenton f33b10838f *** empty log message ***
svn path=/trunk/boinc/; revision=5946
2005-04-27 13:36:52 +00:00
Charlie Fenton 002a4bf41d *** empty log message ***
svn path=/trunk/boinc/; revision=5945
2005-04-27 12:59:53 +00:00
David Anderson b8e12020e9 *** empty log message ***
svn path=/trunk/boinc/; revision=5942
2005-04-27 06:55:28 +00:00
Rom Walton 2c5cbdb926 *** empty log message ***
svn path=/trunk/boinc/; revision=5941
2005-04-27 06:32:40 +00:00
Rom Walton a5684b1402 *** empty log message ***
svn path=/trunk/boinc/; revision=5940
2005-04-27 01:34:35 +00:00
David Anderson abf19d7de2 version 4.68
svn path=/trunk/boinc/; revision=5939
2005-04-26 19:04:25 +00:00
Charlie Fenton 836b5aadbb *** empty log message ***
svn path=/trunk/boinc/; revision=5938
2005-04-26 15:51:40 +00:00
Charlie Fenton 485e250c4f *** empty log message ***
svn path=/trunk/boinc/; revision=5937
2005-04-26 15:03:51 +00:00
Rom Walton 6393b65ba0 *** empty log message ***
svn path=/trunk/boinc/; revision=5936
2005-04-26 04:20:35 +00:00
Rom Walton b810d485f6 *** empty log message ***
svn path=/trunk/boinc/; revision=5935
2005-04-25 19:38:23 +00:00
Rom Walton c1595522f9 *** empty log message ***
svn path=/trunk/boinc/; revision=5934
2005-04-25 18:44:17 +00:00
Eric J. Korpela 23059034c7 *** empty log message ***
svn path=/trunk/boinc/; revision=5933
2005-04-25 18:08:57 +00:00
Eric J. Korpela 7735ee9be4 Fix for platforms without ToolTips (motif, vanilla X, etc...): Separated out
tooltips reference with "#ifdef wxUSE_TOOLTIPS" blocks.

svn path=/trunk/boinc/; revision=5932
2005-04-25 17:57:27 +00:00
Eric J. Korpela a21f851842 Changed "-L ../lib" to "-L../lib" because some platforms don't accept a space
between -L and its arguments.

svn path=/trunk/boinc/; revision=5931
2005-04-25 17:55:46 +00:00
Bruce Allen 219fab8a5c Put 'do another' at the top not bottom of the page
svn path=/trunk/boinc/; revision=5930
2005-04-25 15:06:22 +00:00
Charlie Fenton 62ef1e8107 *** empty log message ***
svn path=/trunk/boinc/; revision=5929
2005-04-25 11:09:40 +00:00
Charlie Fenton 8a9cbc2a74 *** empty log message ***
svn path=/trunk/boinc/; revision=5928
2005-04-24 20:15:32 +00:00
Charlie Fenton 775adf5d19 *** empty log message ***
svn path=/trunk/boinc/; revision=5927
2005-04-24 12:31:55 +00:00
Rom Walton 750222bd60 *** empty log message ***
svn path=/trunk/boinc/; revision=5926
2005-04-24 00:09:40 +00:00