Commit Graph

57 Commits

Author SHA1 Message Date
David Anderson 1069770a7f - compile fixes for gcc 4.3 (from Frank Thomas)
Fixes #514

svn path=/trunk/boinc/; revision=14436
2007-12-21 21:09:40 +00:00
Frank Thomas 3bfc78b511 Updated the postal address of the Free Software Foundation in all license headers. See http://lists.ssl.berkeley.edu/pipermail/boinc_dev/2007-October/008939.html for reference.
svn path=/trunk/boinc/; revision=13804
2007-10-09 11:35:47 +00:00
David Anderson f5d94818dd - added "census", a program that counts up how much RAC
there is for each HR class, and writes it to a file.
    This will be used soon for HR support in the feeder.
- split the HR code into hr.C,h (stuff used by both census and scheduler)
    and sched_hr.C (stuff used only by the scheduler)
- database: change DB_CREDITED_JOB to treat workunitid
    as a double (which it is) rather than a long.
    BTW, long == int.
- fixed lots of compile warnings in the server code

db/
    boinc_db.C,h
lib/
    boinc_cmd.C
    miofile.C
    util.C
sched/
    Makefile.am
    census.C (new)
    feeder.C
    file_deleter.C
    file_upload_handler.C
    handle_request.C
    hr.C,h (new)
    main.C
    sample_assimilator.C
    sample_work_generator.C
    sched_array.C
    sched_hr.C,h
    sched_send.C
    server_types.C
    transitioner.C
    validator.C

svn path=/trunk/boinc/; revision=12970
2007-06-20 22:34:06 +00:00
David Anderson 0daa5a8802 - translation.inc: backed out change of 7 May;
we need to use " to expand $PROJECT var
- scheduler:
    take work_buf_min into account in deciding whether
    a result will be reported by its deadline.
- all back end programs:
    better error message if can't parse config file

html/inc/
    translation.inc
sched/
    *.C

svn path=/trunk/boinc/; revision=12652
2007-05-11 16:30:13 +00:00
David Anderson 4c76f95a34 - scheduler: in send_result_abort(), distinguish between
the enumeration ending versus it failing.
        This fixes a bug where lots of results would be
        incorrectly aborted if there's a database problem.
        This fix only matters if you use the <send_result_abort> config flag.
        (from Kevin Reed)
    - validator: add -credit_from_wu option.
        This gets credit from the workunit XML
        (which must have a <credit> flag).
        This lets you use credit-from-WU with the standard validators
        (sample_bitwise and sample_trivial)

    sched/
        handle_request.C
        validator.C
        validate_util.h

svn path=/trunk/boinc/; revision=12558
2007-05-04 17:59:50 +00:00
Matt Lebofsky 136ce49b84 svn path=/trunk/boinc/; revision=12536 2007-05-02 23:17:52 +00:00
Matt Lebofsky 846ec9fbb0 svn path=/trunk/boinc/; revision=12532 2007-05-02 18:51:51 +00:00
David Anderson 7e2b39c4db David 24 Apr 2007
- Server: add new database field host.error_rate.
        Stores a dynamic estimate of the fraction of the hosts's
        results that fail validation (updated by the validator).

    client/
        sim.C
        cs_prefs.C
    db/
        boinc_db.C,h
    html/ops/
        db_update.php
    sched/
        handle_request.C
        sched_msgs.h
        validator.C

svn path=/trunk/boinc/; revision=12466
2007-04-24 23:21:42 +00:00
David Anderson 3431d99471 svn path=/trunk/boinc/; revision=12414 2007-04-18 20:49:58 +00:00
David Anderson e6f9499b02 *** empty log message ***
svn path=/trunk/boinc/; revision=12361
2007-04-13 04:22:20 +00:00
Reinhard Prix cc071a0653 mini-fix in helpstring
svn path=/trunk/boinc/; revision=11859
2007-01-15 00:23:37 +00:00
Reinhard Prix 428ac91a61 add usage/help output to validator.C
svn path=/trunk/boinc/; revision=11858
2007-01-15 00:19:37 +00:00
David Anderson 3967a1f924 *** empty log message ***
svn path=/trunk/boinc/; revision=11850
2007-01-12 17:42:29 +00:00
David Anderson 2732dd5f0b *** empty log message ***
svn path=/trunk/boinc/; revision=11742
2006-12-29 22:16:08 +00:00
David Anderson 76cc3ab30d *** empty log message ***
svn path=/trunk/boinc/; revision=11597
2006-11-28 03:27:13 +00:00
David Anderson d4fbc3b52d *** empty log message ***
svn path=/trunk/boinc/; revision=11592
2006-11-27 01:07:00 +00:00
Bruce Allen 2c45c1708f For computing and tracking a host's average credit/cpu_time I
have inserted a new averaging function
update_credit_per_cpu_sec() into lib/util.C.  This function
should be called from validator.C, and then the value of
credit_per_cpu_sec should be exported by db_dump.C in the
host_id.gz stats file.

David, Eric, if you could check the code and logic here I would
be grateful. This is currently disabled in validator.C with
a #ifdef macro.  I won't enable it until we've agreed on this.

svn path=/trunk/boinc/; revision=11136
2006-09-11 11:41:54 +00:00
David Anderson b9b5d0ed48 *** empty log message ***
svn path=/trunk/boinc/; revision=10622
2006-07-11 21:49:20 +00:00
David Anderson c745174e90 *** empty log message ***
svn path=/trunk/boinc/; revision=10402
2006-06-19 22:20:24 +00:00
David Anderson bd1475e3a1 grant claimed credit option
svn path=/trunk/boinc/; revision=9558
2006-02-25 07:09:50 +00:00
Eric J. Korpela d9ee426071 Added explicit includes of "config.h" in many files to enable use of compilers
without a -include command line option.

svn path=/trunk/boinc/; revision=8896
2005-11-21 18:34:44 +00:00
David Anderson f8776ebd8c fix warnings
svn path=/trunk/boinc/; revision=8739
2005-10-23 07:19:03 +00:00
David Anderson 941d7e21d8 fix DEBUG symbol collision
svn path=/trunk/boinc/; revision=8189
2005-09-26 23:28:48 +00:00
David Anderson 98e6124369 fix validator/transitioner race
svn path=/trunk/boinc/; revision=7963
2005-09-10 06:09:55 +00:00
David Anderson a400b6df5b *** empty log message ***
svn path=/trunk/boinc/; revision=6656
2005-07-17 19:52:44 +00:00
Bruce Allen 50bd7802a4 Insert #ifdef'ed out block to attach debugger to the validator.
svn path=/trunk/boinc/; revision=5685
2005-03-19 16:03:21 +00:00
David Anderson 20656a03df *** empty log message ***
svn path=/trunk/boinc/; revision=5499
2005-02-23 00:11:59 +00:00
David Anderson 41fb9a9e8c *** empty log message ***
svn path=/trunk/boinc/; revision=5496
2005-02-22 20:12:31 +00:00
David Anderson 435f8edd47 *** empty log message ***
svn path=/trunk/boinc/; revision=5161
2005-01-20 23:22:22 +00:00
Bruce Allen 07f776dd63 Added a command line option to make single pass with a small number of WU
for testing purposes.

svn path=/trunk/boinc/; revision=4986
2005-01-03 17:18:32 +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 f5a552e006 *** empty log message ***
svn path=/trunk/boinc/; revision=4848
2004-12-14 21:31:57 +00:00
David Anderson c0c47595ac *** empty log message ***
svn path=/trunk/boinc/; revision=4840
2004-12-14 00:57:03 +00:00
David Anderson 01d9b49925 *** empty log message ***
svn path=/trunk/boinc/; revision=4813
2004-12-10 22:04:20 +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 2c5f1d1a5b *** empty log message ***
svn path=/trunk/boinc/; revision=4772
2004-12-06 22:41:19 +00:00
David Anderson 8ffbaf8014 *** empty log message ***
svn path=/trunk/boinc/; revision=4694
2004-12-01 22:44:47 +00:00
David Anderson c9089ef197 *** empty log message ***
svn path=/trunk/boinc/; revision=4691
2004-12-01 05:46:04 +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
Bruce Allen dc4219091a - 'Fixed' py/Boinc/add_util.py so that it takes cross_project_id value out of XML
file.  Current default value is '0'.  Karl, could you fix this to make it a random
string?

- validator.c sets global variable int boinc_validator_debuglevel for use by check_set
and check_match functions.

svn path=/trunk/boinc/; revision=4597
2004-11-18 13:44:58 +00:00
David Anderson 833ef666ce *** empty log message ***
svn path=/trunk/boinc/; revision=4559
2004-11-15 01:58:30 +00:00
David Anderson 8f4da17560 *** empty log message ***
svn path=/trunk/boinc/; revision=4536
2004-11-12 23:36:24 +00:00
Lana Alber 6501a9e4dd *** empty log message ***
svn path=/trunk/boinc/; revision=4324
2004-10-13 21:02:43 +00:00
David Anderson 01786cde87 *** empty log message ***
svn path=/trunk/boinc/; revision=4312
2004-10-10 03:16:30 +00:00
Lana Alber b7694f1377 *** empty log message ***
svn path=/trunk/boinc/; revision=4309
2004-10-08 23:59:44 +00:00
David Anderson b84fd8bbef *** empty log message ***
svn path=/trunk/boinc/; revision=4308
2004-10-08 23:07:59 +00:00
Lana Alber 764c08e5ff *** empty log message ***
svn path=/trunk/boinc/; revision=4307
2004-10-08 22:41:33 +00:00
Lana Alber b4a714d4d4 *** empty log message ***
svn path=/trunk/boinc/; revision=4296
2004-10-06 19:26:31 +00:00
Lana Alber 92db7284e4 *** empty log message ***
svn path=/trunk/boinc/; revision=4290
2004-10-04 23:59:51 +00:00
David Anderson a66caa800f *** empty log message ***
svn path=/trunk/boinc/; revision=4181
2004-09-10 20:33:05 +00:00