diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-03-11 23:34:46 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-03-11 23:34:46 -0500 |
commit | d52a99dc77dc77008b871da8bb2f95995d1abb6a (patch) | |
tree | 03d461c69b5d1468f162984d3da21dab8def889f /src/or/rephist.h | |
parent | 0b07b5dc989b50cb9fad82efe946f160713420cf (diff) | |
parent | d34a5cdc597824e72453009ed209e5644f158e90 (diff) | |
download | tor-d52a99dc77dc77008b871da8bb2f95995d1abb6a.tar.gz tor-d52a99dc77dc77008b871da8bb2f95995d1abb6a.zip |
Merge remote branch 'origin/maint-0.2.2'
Diffstat (limited to 'src/or/rephist.h')
-rw-r--r-- | src/or/rephist.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/rephist.h b/src/or/rephist.h index cb70e15913..5748748a80 100644 --- a/src/or/rephist.h +++ b/src/or/rephist.h @@ -40,6 +40,7 @@ int rep_hist_record_mtbf_data(time_t now, int missing_means_down); int rep_hist_load_mtbf_data(time_t now); time_t rep_hist_downrate_old_runs(time_t now); +long rep_hist_get_uptime(const char *id, time_t when); double rep_hist_get_stability(const char *id, time_t when); double rep_hist_get_weighted_fractional_uptime(const char *id, time_t when); long rep_hist_get_weighted_time_known(const char *id, time_t when); |