~ubuntu-branches/ubuntu/wily/boinc-app-seti/wily-proposed

« back to all changes in this revision

Viewing changes to client/gdata.cpp

  • Committer: Package Import Robot
  • Author(s): Gianfranco Costamagna
  • Date: 2014-04-14 00:10:11 UTC
  • mfrom: (1.1.11)
  • Revision ID: package-import@ubuntu.com-20140414001011-uos97gr5k8imsx8e
Tags: 7.28~svn2203-1
* New upstream release, patch refresh.
* Drop fix-armel.patch and fix-ftbfs-arm64.patch, addressed
  upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
 
40
40
void G_TRIPLET_INFO::copy(TRIPLET_INFO * ti, bool ib) {
41
41
    int i;
42
 
    if (peak_power==ti->t.peak_power && period==ti->t.period) return;
 
42
#ifdef USE_MANUAL_CALLSTACK
 
43
    call_stack.enter("G_TRIPLET_INFO::copy()");
 
44
#endif 
 
45
    if (peak_power==ti->t.peak_power && period==ti->t.period) {
 
46
#ifdef USE_MANUAL_CALLSTACK
 
47
      call_stack.exit();
 
48
#endif 
 
49
      return;
 
50
    }
43
51
    peak_power = ti->t.peak_power;
44
52
    period = ti->t.period;
45
53
    tpotind0_0 = ti->tpotind0_0;
56
64
    }
57
65
    dirty = true;
58
66
    is_best = ib;
 
67
#ifdef USE_MANUAL_CALLSTACK
 
68
    call_stack.exit();
 
69
#endif 
59
70
}
60
71
 
61
72
void G_PULSE_INFO::copy(PULSE_INFO * pi, bool ib) {
62
73
    int i;
63
 
    if (score==pi->score && peak_power==pi->p.peak_power) return;
 
74
#ifdef USE_MANUAL_CALLSTACK
 
75
    call_stack.enter("G_PULSE_INFO::copy()");
 
76
#endif 
 
77
    if (score==pi->score && peak_power==pi->p.peak_power) {
 
78
#ifdef USE_MANUAL_CALLSTACK
 
79
      call_stack.exit();
 
80
#endif 
 
81
      return;
 
82
    }
64
83
    peak_power = pi->p.peak_power;
65
84
    period = pi->p.period;
66
85
    score = pi->score;
72
91
    //}
73
92
    dirty = true;
74
93
    is_best = ib;
 
94
#ifdef USE_MANUAL_CALLSTACK
 
95
    call_stack.exit();
 
96
#endif 
75
97
}
76
98
 
77
99
void G_GAUSS_INFO::copy(GAUSS_INFO * gi, bool ib) {
78
100
    size_t i;
79
 
    if (score==gi->score && chisqr==gi->g.chisqr) return;
 
101
#ifdef USE_MANUAL_CALLSTACK
 
102
    call_stack.enter("G_GAUSS_INFO::copy()");
 
103
#endif
 
104
    if (score==gi->score && chisqr==gi->g.chisqr) {
 
105
#ifdef USE_MANUAL_CALLSTACK
 
106
      call_stack.exit();
 
107
#endif
 
108
      return;
 
109
    }
80
110
    score = gi->score;
81
111
    peak_power = gi->g.peak_power;
82
112
    mean_power = gi->g.mean_power;
88
118
    }
89
119
    dirty = true;
90
120
    is_best = ib;
 
121
#ifdef USE_MANUAL_CALLSTACK
 
122
    call_stack.exit();
 
123
#endif 
91
124
}
92
125
 
93
126
void G_SPIKE_INFO::copy(SPIKE_INFO * si, bool ib) {