aboutsummaryrefslogtreecommitdiff
path: root/src/or/rephist.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-03-11 23:34:46 -0500
committerNick Mathewson <nickm@torproject.org>2011-03-11 23:34:46 -0500
commitd52a99dc77dc77008b871da8bb2f95995d1abb6a (patch)
tree03d461c69b5d1468f162984d3da21dab8def889f /src/or/rephist.h
parent0b07b5dc989b50cb9fad82efe946f160713420cf (diff)
parentd34a5cdc597824e72453009ed209e5644f158e90 (diff)
downloadtor-d52a99dc77dc77008b871da8bb2f95995d1abb6a.tar
tor-d52a99dc77dc77008b871da8bb2f95995d1abb6a.tar.gz
Merge remote branch 'origin/maint-0.2.2'
Diffstat (limited to 'src/or/rephist.h')
-rw-r--r--src/or/rephist.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/rephist.h b/src/or/rephist.h
index cb70e1591..5748748a8 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);