summaryrefslogtreecommitdiffstats
path: root/searchlib/src/apps/vespa-attribute-inspect/vespa-attribute-inspect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'searchlib/src/apps/vespa-attribute-inspect/vespa-attribute-inspect.cpp')
-rw-r--r--searchlib/src/apps/vespa-attribute-inspect/vespa-attribute-inspect.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/searchlib/src/apps/vespa-attribute-inspect/vespa-attribute-inspect.cpp b/searchlib/src/apps/vespa-attribute-inspect/vespa-attribute-inspect.cpp
index b976f76c3fb..10d63090464 100644
--- a/searchlib/src/apps/vespa-attribute-inspect/vespa-attribute-inspect.cpp
+++ b/searchlib/src/apps/vespa-attribute-inspect/vespa-attribute-inspect.cpp
@@ -167,14 +167,14 @@ LoadAttribute::Main()
AttributePtr ptr = AttributeFactory::createAttribute(fileName, c);
fastos::StopWatch timer;
load(ptr);
- std::cout << "load time: " << timer.stop().elapsed().ms() << " seconds " << std::endl;
+ std::cout << "load time: " << timer.elapsed().ms() << " seconds " << std::endl;
std::cout << "numDocs: " << ptr->getNumDocs() << std::endl;
if (doApplyUpdate) {
timer.restart();
applyUpdate(ptr);
- std::cout << "update time: " << timer.stop().elapsed().ms() << " seconds " << std::endl;
+ std::cout << "update time: " << timer.elapsed().ms() << " seconds " << std::endl;
}
if (doPrintContent) {
@@ -193,7 +193,7 @@ LoadAttribute::Main()
std::cout << "saving attribute: " << saveFile << std::endl;
timer.restart();
ptr->save(saveFile);
- std::cout << "save time: " << timer.stop().elapsed().ms() << " seconds " << std::endl;
+ std::cout << "save time: " << timer.elapsed().ms() << " seconds " << std::endl;
}
return 0;