MCPcopy Create free account
hub / github.com/BOINC/boinc / update_average

Function update_average

lib/util.cpp:150–200  ·  view source on GitHub ↗

Update an estimate of "units per day" of something (credit or CPU time). The estimate is exponentially averaged with a given half-life (i.e. if no new work is done, the average will decline by 50% in this time). This function can be called either with new work, or with zero work to decay an existing average. NOTE: if you change this, also change update_average in html/inc/credit.inc

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 11

update_recFunction · 0.85
updateMethod · 0.85
simulateMethod · 0.85
update_usersFunction · 0.85
update_hostsFunction · 0.85
update_teamsFunction · 0.85
grant_creditFunction · 0.85
grant_credit_by_appFunction · 0.85
decayFunction · 0.85
grant_credits_for_wuFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected