diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-03 14:26:13 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-04 16:44:41 -0700 |
| commit | c86dbc960e417659dd652a7448096cd71d95266e (patch) | |
| tree | abea24cb41c07f12fb40547040e6eb527b93f825 /toolsrc/src/commands_build.cpp | |
| parent | 3033da9142fd4adc7a7a163ac0839c5da69fd494 (diff) | |
| download | vcpkg-c86dbc960e417659dd652a7448096cd71d95266e.tar.gz vcpkg-c86dbc960e417659dd652a7448096cd71d95266e.zip | |
Introduce Metrics namespace
Diffstat (limited to 'toolsrc/src/commands_build.cpp')
| -rw-r--r-- | toolsrc/src/commands_build.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/toolsrc/src/commands_build.cpp b/toolsrc/src/commands_build.cpp index 3c3fbeb66..7b4e4cf37 100644 --- a/toolsrc/src/commands_build.cpp +++ b/toolsrc/src/commands_build.cpp @@ -68,12 +68,12 @@ namespace vcpkg::Commands::Build int return_code = System::cmd_execute_clean(command); auto buildtimeus = timer.microseconds(); - TrackMetric("buildtimeus-" + spec.toString(), buildtimeus); + Metrics::TrackMetric("buildtimeus-" + spec.toString(), buildtimeus); if (return_code != 0) { - TrackProperty("error", "build failed"); - TrackProperty("build_error", spec.toString()); + Metrics::TrackProperty("error", "build failed"); + Metrics::TrackProperty("build_error", spec.toString()); return BuildResult::BUILD_FAILED; } |
