diff options
author | Rene Ladan <rene@FreeBSD.org> | 2013-09-18 13:48:19 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2013-09-18 13:48:19 +0000 |
commit | 7f6ba9d599f3b8b6db072b454af13d28028ca954 (patch) | |
tree | 27d19c6c9f73fd5ceb3e321a8c61d305d005893d /astro | |
parent | 2fd32f51c3b7c71c8639303c76d2419529caf23a (diff) | |
download | ports-7f6ba9d599f3b8b6db072b454af13d28028ca954.tar.gz ports-7f6ba9d599f3b8b6db072b454af13d28028ca954.zip |
Notes
Diffstat (limited to 'astro')
5 files changed, 59 insertions, 0 deletions
diff --git a/astro/boinc-astropulse/files/patch-client__ap_client_main.cpp b/astro/boinc-astropulse/files/patch-client__ap_client_main.cpp new file mode 100644 index 000000000000..6c21d7b9330a --- /dev/null +++ b/astro/boinc-astropulse/files/patch-client__ap_client_main.cpp @@ -0,0 +1,10 @@ +--- ap_client_main.cpp.orig 2012-08-14 02:07:20.000000000 +0200 ++++ ap_client_main.cpp 2013-08-06 18:41:38.000000000 +0200 +@@ -1288,7 +1288,6 @@ + * used to inform the core client GUI of the % complete. + */ + boinc_fraction_done(state.frac_done); +- boinc_ops_cumulative(state.frac_done*FLOPS_PER_DM*(state.dm_hi-state.dm_low)*log((float)state.fft_len)/log(32768.0),0); + debug_loop(5, 2, debug_loop_msg); + + /* This is the size of the power array. diff --git a/astro/boinc-astropulse/files/patch-client__ap_fold.cpp b/astro/boinc-astropulse/files/patch-client__ap_fold.cpp new file mode 100644 index 000000000000..1b37fa85c797 --- /dev/null +++ b/astro/boinc-astropulse/files/patch-client__ap_fold.cpp @@ -0,0 +1,10 @@ +--- ap_fold.cpp.orig 2009-04-01 02:11:24.000000000 +0200 ++++ ap_fold.cpp 2013-08-06 18:42:02.000000000 +0200 +@@ -283,7 +283,6 @@ + * used to inform the core client GUI of the % complete. + */ + boinc_fraction_done(state.frac_done); +- boinc_ops_cumulative(state.frac_done*FLOPS_PER_DM*(state.dm_hi-state.dm_low)*log((double)state.fft_len)/log(32768.0),0); + + freq_count++; + /* Report to stdout if we have reached a new "milestone" frequency. */ diff --git a/astro/boinc-setiathome-enhanced/files/patch-client__analyzeFuncs.cpp b/astro/boinc-setiathome-enhanced/files/patch-client__analyzeFuncs.cpp new file mode 100644 index 000000000000..2fbe914290dd --- /dev/null +++ b/astro/boinc-setiathome-enhanced/files/patch-client__analyzeFuncs.cpp @@ -0,0 +1,10 @@ +--- client/analyzeFuncs.cpp.orig 2008-07-31 02:02:10.000000000 +0200 ++++ client/analyzeFuncs.cpp 2013-08-06 18:48:46.000000000 +0200 +@@ -415,7 +415,6 @@ + fftlen = ChirpFftPairs[icfft].FftLen; + chirprate = ChirpFftPairs[icfft].ChirpRate; + chirprateind = ChirpFftPairs[icfft].ChirpRateInd; +- boinc_fpops_cumulative((SETUP_FLOPS+analysis_state.FLOP_counter)*LOAD_STORE_ADJUSTMENT); + // boinc_worker_timer(); + #ifdef DEBUG + double ptime=static_cast<double>((unsigned)clock())/CLOCKS_PER_SEC+ diff --git a/astro/boinc-setiathome-enhanced/files/patch-client__seti.h b/astro/boinc-setiathome-enhanced/files/patch-client__seti.h new file mode 100644 index 000000000000..c73becdc786e --- /dev/null +++ b/astro/boinc-setiathome-enhanced/files/patch-client__seti.h @@ -0,0 +1,11 @@ +--- client/seti.h.orig 2009-01-26 18:01:09.000000000 +0100 ++++ client/seti.h 2013-08-06 18:48:50.000000000 +0200 +@@ -35,8 +35,6 @@ + #include <vector> + #include "boinc_api.h" + +-#define boinc_fpops_cumulative(x) boinc_ops_cumulative(x,0) +- + extern APP_INIT_DATA app_init_data; + + #include "analyze.h" diff --git a/astro/boinc-setiathome-enhanced/files/patch-client__worker.cpp b/astro/boinc-setiathome-enhanced/files/patch-client__worker.cpp new file mode 100644 index 000000000000..1770a75ca4bc --- /dev/null +++ b/astro/boinc-setiathome-enhanced/files/patch-client__worker.cpp @@ -0,0 +1,18 @@ +--- client/worker.cpp.orig 2008-07-31 02:02:10.000000000 +0200 ++++ client/worker.cpp 2013-08-06 18:48:48.000000000 +0200 +@@ -153,7 +153,6 @@ + retval = seti_do_work(); + if (retval) SETIERROR(retval,"from seti_do_work() in worker()"); + +- boinc_fpops_cumulative((SETUP_FLOPS+analysis_state.FLOP_counter)*LOAD_STORE_ADJUSTMENT); + boinc_finish(retval); + } + catch (seti_error e) { +@@ -165,7 +164,6 @@ + remaining=0; + boinc_fraction_done(progress); + checkpoint(true); // force a checkpoint +- boinc_fpops_cumulative((SETUP_FLOPS+analysis_state.FLOP_counter)*LOAD_STORE_ADJUSTMENT); + boinc_finish(0); + exit(0); // an overflow is not an app error + } else { |