Index: src/device.h |
diff --git a/src/device.h b/src/device.h |
index 79552344a6f17159f89cff84b799291139cc52aa..4bf287aece3e3c2f667746722ce15ecd3595bba4 100644 |
--- a/src/device.h |
+++ b/src/device.h |
@@ -64,6 +64,12 @@ class Device { |
// is the byte counter running? |
virtual bool ByteCounterRunning() const = 0; |
+ // reset byte counter to an arbitrary baseline value |
+ // counter will continue to run and increment relative to new baseline |
+ // there must be an existing byte counter |
+ // |parent_| must already have received at least one update |
Eric Shienbrood
2011/02/10 18:47:00
parent_ is in the implementation class, so it's ki
Vince Laviano
2011/02/10 22:29:19
Done.
|
+ virtual void ResetByteCounter(uint64 rx_bytes, uint64 tx_bytes) = 0; |
+ |
// factory |
static Device* NewDevice(Service * const parent, |
DBus::Connection& connection, // NOLINT |