diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-02-16 16:37:11 -0800 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-02-16 16:37:11 -0800 |
| commit | 1a6496b49403cb0df959f06fd075f9940089a1f6 (patch) | |
| tree | 9cb82eca6363f52900d7f99984b37e3307ebfe2b /toolsrc/src/commands_ci.cpp | |
| parent | e16084cc8d15b0c042871b0d1cffa6320a1681d4 (diff) | |
| download | vcpkg-1a6496b49403cb0df959f06fd075f9940089a1f6.tar.gz vcpkg-1a6496b49403cb0df959f06fd075f9940089a1f6.zip | |
Use ElapsedTime instead of Stopwatch
Diffstat (limited to 'toolsrc/src/commands_ci.cpp')
| -rw-r--r-- | toolsrc/src/commands_ci.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/toolsrc/src/commands_ci.cpp b/toolsrc/src/commands_ci.cpp index ea2c707c7..178d8ae1b 100644 --- a/toolsrc/src/commands_ci.cpp +++ b/toolsrc/src/commands_ci.cpp @@ -41,13 +41,13 @@ namespace vcpkg::Commands::CI Environment::ensure_utilities_on_path(paths); std::vector<BuildResult> results; - Stopwatch stopwatch = Stopwatch::createStarted(); + const ElapsedTime timer = ElapsedTime::createStarted(); size_t counter = 0; const size_t package_count = install_plan.size(); for (const package_spec_with_install_plan& action : install_plan) { counter++; - System::println("Starting package %d/%d: %s. Time Elapsed: %s", counter, package_count, action.spec.toString(), stopwatch.toString()); + System::println("Starting package %d/%d: %s. Time Elapsed: %s", counter, package_count, action.spec.toString(), timer.toString()); try { if (action.plan.plan_type == install_plan_type::ALREADY_INSTALLED) @@ -84,7 +84,7 @@ namespace vcpkg::Commands::CI } } - System::println(stopwatch.toString()); + System::println(timer.toString()); for (size_t i = 0; i < results.size(); i++) { |
