diff options
Diffstat (limited to 'storage/src/vespa/storage/tools/throttlingsim.cpp')
-rw-r--r-- | storage/src/vespa/storage/tools/throttlingsim.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/storage/src/vespa/storage/tools/throttlingsim.cpp b/storage/src/vespa/storage/tools/throttlingsim.cpp index 97f5af3518e..52cd81c6fbd 100644 --- a/storage/src/vespa/storage/tools/throttlingsim.cpp +++ b/storage/src/vespa/storage/tools/throttlingsim.cpp @@ -270,7 +270,7 @@ BusyCounterBalancingClient::BusyCounterBalancingClient(Messaging& msgng, int win void BusyCounterBalancingClient::run() { - // int startTime = time(NULL); + // int startTime = fastos::time(); while (running()) { { @@ -456,9 +456,9 @@ ThrottlingApp::Main() m.clients.push_back(c); } */ - int timeNow = time(NULL); + int timeNow = fastos::time(); - while (time(NULL) - timeNow < 240) { + while (fastos::time() - timeNow < 240) { m.print(); m.period.SetNow(); sleep(2); |