diff options
author | Eliot Horowitz <eliot@10gen.com> | 2012-07-15 22:21:50 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2012-07-27 16:28:48 -0400 |
commit | 6701b6ea856ec2b34fe85429f5e920c86cb8391d (patch) | |
tree | c3e250ff5fad9e10bf921093743c8c924be4f5d2 | |
parent | 6aa80782bc30162efb8f736863ed4b6bf2e94244 (diff) | |
download | mongo-6701b6ea856ec2b34fe85429f5e920c86cb8391d.tar.gz |
SERVER-6391 add resetLastTime to ElapsedTracker
-rw-r--r-- | util/net/listen.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/util/net/listen.h b/util/net/listen.h index 415db1e3fb6..a2289bc219f 100644 --- a/util/net/listen.h +++ b/util/net/listen.h @@ -123,6 +123,10 @@ namespace mongo { return false; } + void resetLastTime() { + _last = Listener::getElapsedTimeMillis(); + } + private: int _h; int _ms; |