aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib/src/vespa/vespalib/util/testclock.cpp
blob: 9f63ce6c217222eec56e045c535ae099e3bcc335 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#include "testclock.h"
#include <vespa/vespalib/util/invokeserviceimpl.h>

namespace vespalib {

TestClock::TestClock()
    : _ticker(std::make_unique<InvokeServiceImpl>(10ms)),
      _clock(_ticker->nowRef())
{
}

TestClock::~TestClock() = default;

}