aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_build.cpp
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-04-03 14:26:13 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2017-04-04 16:44:41 -0700
commitc86dbc960e417659dd652a7448096cd71d95266e (patch)
treeabea24cb41c07f12fb40547040e6eb527b93f825 /toolsrc/src/commands_build.cpp
parent3033da9142fd4adc7a7a163ac0839c5da69fd494 (diff)
downloadvcpkg-c86dbc960e417659dd652a7448096cd71d95266e.tar.gz
vcpkg-c86dbc960e417659dd652a7448096cd71d95266e.zip
Introduce Metrics namespace
Diffstat (limited to 'toolsrc/src/commands_build.cpp')
-rw-r--r--toolsrc/src/commands_build.cpp6
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;
}