Commit Graph

785 Commits

Author SHA1 Message Date
David Anderson 0d2a0ad9a3 *** empty log message ***
svn path=/trunk/boinc/; revision=6778
2005-07-23 08:10:39 +00:00
David Anderson d25c0d383c *** empty log message ***
svn path=/trunk/boinc/; revision=6767
2005-07-23 07:24:51 +00:00
David Anderson 371baf3ec4 *** empty log message ***
svn path=/trunk/boinc/; revision=6730
2005-07-21 21:21:17 +00:00
David Anderson 41788e7e8d *** empty log message ***
svn path=/trunk/boinc/; revision=6697
2005-07-20 10:26:47 +00:00
Rom Walton f151ae9306 *** empty log message ***
svn path=/trunk/boinc/; revision=6613
2005-07-14 16:46:38 +00:00
Rom Walton b36aafd00c *** empty log message ***
svn path=/trunk/boinc/; revision=6588
2005-07-09 05:23:40 +00:00
Rom Walton 68f2cf454d *** empty log message ***
svn path=/trunk/boinc/; revision=6579
2005-07-08 07:26:37 +00:00
Rom Walton d63e2eb038 *** empty log message ***
svn path=/trunk/boinc/; revision=6568
2005-07-07 22:26:49 +00:00
Rom Walton c3098bcb61 *** empty log message ***
svn path=/trunk/boinc/; revision=6539
2005-07-06 21:10:36 +00:00
Rom Walton 91e5bdf46f *** empty log message ***
svn path=/trunk/boinc/; revision=6534
2005-07-06 09:14:43 +00:00
Rom Walton cce208ecf4 *** empty log message ***
svn path=/trunk/boinc/; revision=6502
2005-07-01 06:30:06 +00:00
David Anderson 114cb732d1 *** empty log message ***
svn path=/trunk/boinc/; revision=6493
2005-06-29 06:14:35 +00:00
David Anderson 8e21c831b1 *** empty log message ***
svn path=/trunk/boinc/; revision=6480
2005-06-28 19:25:52 +00:00
Bruce Allen 042bfde576 when using locality scheduler, have transitioner or backend
lib advertise data file when new result is created.
code organization: create new lib function boinc_touch_file()
      from code that was in locality scheduler module.

svn path=/trunk/boinc/; revision=6456
2005-06-27 16:31:49 +00:00
David Anderson 2b8eba0a80 *** empty log message ***
svn path=/trunk/boinc/; revision=6427
2005-06-24 08:12:11 +00:00
David Anderson bf16b92bce *** empty log message ***
svn path=/trunk/boinc/; revision=6405
2005-06-23 00:15:05 +00:00
Rom Walton 3031042699 *** empty log message ***
svn path=/trunk/boinc/; revision=6401
2005-06-22 10:51:34 +00:00
David Anderson e40919d465 *** empty log message ***
svn path=/trunk/boinc/; revision=6394
2005-06-21 17:54:10 +00:00
David Anderson d05dc1b022 *** empty log message ***
svn path=/trunk/boinc/; revision=6389
2005-06-21 08:22:18 +00:00
Rom Walton eddbf9481c *** empty log message ***
svn path=/trunk/boinc/; revision=6386
2005-06-20 01:45:13 +00:00
Rom Walton 21fd7b81f4 *** empty log message ***
svn path=/trunk/boinc/; revision=6375
2005-06-18 02:28:03 +00:00
David Anderson 3f543bce8e *** empty log message ***
svn path=/trunk/boinc/; revision=6364
2005-06-16 20:44:33 +00:00
Rom Walton 5ab65d0173 *** empty log message ***
svn path=/trunk/boinc/; revision=6360
2005-06-16 01:59:33 +00:00
David Anderson 279c95f246 *** empty log message ***
svn path=/trunk/boinc/; revision=6351
2005-06-15 19:27:09 +00:00
David Anderson 9ad4dcc1ec *** empty log message ***
svn path=/trunk/boinc/; revision=6340
2005-06-13 18:23:56 +00:00
David Anderson 81dd738894 *** empty log message ***
svn path=/trunk/boinc/; revision=6328
2005-06-11 00:30:11 +00:00
David Anderson 14f60e3fb6 *** empty log message ***
svn path=/trunk/boinc/; revision=6316
2005-06-08 23:55:21 +00:00
David Anderson 24ebadef4c *** empty log message ***
svn path=/trunk/boinc/; revision=6299
2005-06-07 21:46:11 +00:00
Rom Walton 767c9e32b7 *** empty log message ***
svn path=/trunk/boinc/; revision=6297
2005-06-07 21:13:37 +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
David Anderson 5159eefad0 *** empty log message ***
svn path=/trunk/boinc/; revision=6261
2005-05-27 22:01:49 +00:00
David Anderson 83a83752d8 *** empty log message ***
svn path=/trunk/boinc/; revision=6248
2005-05-25 19:26:37 +00:00
David Anderson 43d7563ce6 *** empty log message ***
svn path=/trunk/boinc/; revision=6242
2005-05-24 19:52:53 +00:00
Rom Walton 1c8907f027 *** empty log message ***
svn path=/trunk/boinc/; revision=6160
2005-05-15 05:51:54 +00:00
David Anderson 8857f357f7 *** empty log message ***
svn path=/trunk/boinc/; revision=6158
2005-05-14 19:45:24 +00:00
David Anderson e66d397f5c *** empty log message ***
svn path=/trunk/boinc/; revision=6136
2005-05-12 22:39:44 +00:00
Eric J. Korpela 90d49a7d91 Modified the BOINC_GETSOCKOPT_TYPE macro so it determines the proper type of
parameter 5 to getsockopt() by using the compiler.  The macro was in danger of
becoming an ever expanding list of case statements, since some platforms use
socklen_t, others use size_t, and still others use int.  Some aren't even
consistent from OS rev to OS rev.

A macro BOINC_SOCKLEN_T is set in config.h to indicate the proper type.  This
is typedef to be boinc_socklen_t in lib/network.h.  The special cases for
__APPLE__ and WIN32 can probably be removed at a later time.  Places where
socklen_t was used have been changed to boinc_socklen_t.

Also added double inclusion protection to network.h

svn path=/trunk/boinc/; revision=6055
2005-05-06 01:54:00 +00:00
Eric J. Korpela 5fa308a43d Fixed problem with including std_fixes.h when compiling code as C rather than
C++.

svn path=/trunk/boinc/; revision=6054
2005-05-06 00:36:07 +00:00
David Anderson 27aacefb20 *** empty log message ***
svn path=/trunk/boinc/; revision=6043
2005-05-05 18:59:55 +00:00
Bruce Allen 734dd4bdde Correcting the documentation
svn path=/trunk/boinc/; revision=6031
2005-05-05 05:23:45 +00:00
Bruce Allen f42b511669 Fixing the documentation
svn path=/trunk/boinc/; revision=6030
2005-05-05 05:18:40 +00:00
Jeff Cobb 8a90db98b0 *** empty log message ***
svn path=/trunk/boinc/; revision=6025
2005-05-04 18:49:02 +00:00
Bruce Allen 13d1f435d3 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=5997
2005-05-01 13:10:53 +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 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