[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [metrics-lib/master] Clarify that stats lengths are in seconds.
commit 0176924820117c861766048a549f6319ad945d45
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date: Wed Mar 21 13:57:07 2012 +0100
Clarify that stats lengths are in seconds.
---
.../torproject/descriptor/ExtraInfoDescriptor.java | 19 ++++++++++---------
1 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/src/org/torproject/descriptor/ExtraInfoDescriptor.java b/src/org/torproject/descriptor/ExtraInfoDescriptor.java
index bc9f49d..cb64a62 100644
--- a/src/org/torproject/descriptor/ExtraInfoDescriptor.java
+++ b/src/org/torproject/descriptor/ExtraInfoDescriptor.java
@@ -33,7 +33,8 @@ public interface ExtraInfoDescriptor extends Descriptor {
public long getDirreqStatsEndMillis();
/* Return the interval length of the included directory request
- * statistics, or -1 if no directory request statistics are included. */
+ * statistics in seconds, or -1 if no directory request statistics are
+ * included. */
public long getDirreqStatsIntervalLength();
/* Return statistics on unique IP addresses requesting v2 network
@@ -119,8 +120,8 @@ public interface ExtraInfoDescriptor extends Descriptor {
* entry statistics are included. */
public long getEntryStatsEndMillis();
- /* Return the interval length of the included entry statistics, or -1 if
- * no entry statistics are included. */
+ /* Return the interval length of the included entry statistics in
+ * seconds, or -1 if no entry statistics are included. */
public long getEntryStatsIntervalLength();
/* Return statistics on client IP addresses with map keys being country
@@ -133,8 +134,8 @@ public interface ExtraInfoDescriptor extends Descriptor {
* cell statistics are included. */
public long getCellStatsEndMillis();
- /* Return the interval length of the included cell statistics, or -1 if
- * no cell statistics are included. */
+ /* Return the interval length of the included cell statistics in
+ * seconds, or -1 if no cell statistics are included. */
public long getCellStatsIntervalLength();
/* Return the mean number of processed cells per circuit by circuit
@@ -158,8 +159,8 @@ public interface ExtraInfoDescriptor extends Descriptor {
public long getConnBiDirectStatsEndMillis();
/* Return the interval length of the included statistics on
- * bi-directional connection usage, or -1 if no such statistics are
- * included. */
+ * bi-directional connection usage in seconds, or -1 if no such
+ * statistics are included. */
public long getConnBiDirectStatsIntervalLength();
/* Return the number of connections on which this relay read and wrote
@@ -189,8 +190,8 @@ public interface ExtraInfoDescriptor extends Descriptor {
* exit statistics are included. */
public long getExitStatsEndMillis();
- /* Return the interval length of the included exit statistics, or -1 if
- * no exit statistics are included. */
+ /* Return the interval length of the included exit statistics in
+ * seconds, or -1 if no exit statistics are included. */
public long getExitStatsIntervalLength();
/* Return statistics on KiB written by port with map keys being ports
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits