blob: cdb10fbd18acf4d7ec9d43c50e59f75237635ee7 [file] [log] [blame]
// Copyright 2021 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "metrics.h"
namespace bt {
template <>
void IntMetricCounter::AttachInspect(inspect::Node &parent, const std::string &name) {
inspect_property_ = parent.CreateInt(name, 0);
}
template <>
void UintMetricCounter::AttachInspect(inspect::Node &parent, const std::string &name) {
inspect_property_ = parent.CreateUint(name, 0);
}
} // namespace bt