summaryrefslogtreecommitdiffstats
path: root/fastos
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2019-11-15 12:07:53 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2019-11-15 12:07:53 +0000
commit68d2625410cc851ec30d24f450a21e4ef5d96f95 (patch)
tree9d02a87fe32fa21ab73165211433230e5180f708 /fastos
parent5f0448fd0191fc4cc6203e80e3b967a1b682e395 (diff)
Remove unused code.
Diffstat (limited to 'fastos')
-rw-r--r--fastos/src/vespa/fastos/timestamp.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/fastos/src/vespa/fastos/timestamp.h b/fastos/src/vespa/fastos/timestamp.h
index c418b3aac7d..de66207c59f 100644
--- a/fastos/src/vespa/fastos/timestamp.h
+++ b/fastos/src/vespa/fastos/timestamp.h
@@ -74,9 +74,7 @@ public:
StopWatch & start();
StopWatch & stop();
-
- TimeStamp startTime() const { return _startTime; }
-
+
TimeStamp elapsed() const {
TimeStamp diff(_stopTime - _startTime);
return (diff > 0) ? diff : TimeStamp(0);