diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2019-11-20 21:45:17 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2019-11-20 21:45:17 +0000 |
commit | afbe78369142bf8f02e89eb49117eef91a76e867 (patch) | |
tree | 6e6133dc989172ef1b212981ae62ae3ab4280eb5 /searchlib/src/apps | |
parent | 3c9a7ec70c36bf238765588859fa7b6672a9ff8a (diff) |
Address comments from code review.
Diffstat (limited to 'searchlib/src/apps')
-rw-r--r-- | searchlib/src/apps/vespa-attribute-inspect/vespa-attribute-inspect.cpp | 6 |
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 10d63090464..f4de610a06d 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.elapsed().ms() << " seconds " << std::endl; + std::cout << "load time: " << timer.elapsed().sec() << " seconds " << std::endl; std::cout << "numDocs: " << ptr->getNumDocs() << std::endl; if (doApplyUpdate) { timer.restart(); applyUpdate(ptr); - std::cout << "update time: " << timer.elapsed().ms() << " seconds " << std::endl; + std::cout << "update time: " << timer.elapsed().sec() << " 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.elapsed().ms() << " seconds " << std::endl; + std::cout << "save time: " << timer.elapsed().sec() << " seconds " << std::endl; } return 0; |