Copy as Markdown

Other Tools

// -*- mode: C++ -*-
// AUTOGENERATED BY glean_parser. DO NOT EDIT.
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef mozilla_GleanDevtoolsSharedHeapsnapshotMetrics_h
#define mozilla_GleanDevtoolsSharedHeapsnapshotMetrics_h
#include "mozilla/glean/bindings/MetricTypes.h"
namespace mozilla::glean {
namespace devtools {
/**
* generated from devtools.heap_snapshot_edge_count
* The number of edges serialized into a heap snapshot.
* This metric was generated to correspond to the Legacy Telemetry linear histogram DEVTOOLS_HEAP_SNAPSHOT_EDGE_COUNT.
*/
constexpr impl::CustomDistributionMetric heap_snapshot_edge_count(1084);
/**
* generated from devtools.heap_snapshot_node_count
* The number of nodes serialized into a heap snapshot.
* This metric was generated to correspond to the Legacy Telemetry linear histogram DEVTOOLS_HEAP_SNAPSHOT_NODE_COUNT.
*/
constexpr impl::CustomDistributionMetric heap_snapshot_node_count(1085);
/**
* generated from devtools.read_heap_snapshot
* The time (in milliseconds) that it took to read a heap snapshot in mozilla::devtools::ChromeUtils::ReadHeapSnapshot.
* This metric was generated to correspond to the Legacy Telemetry exponential histogram DEVTOOLS_READ_HEAP_SNAPSHOT_MS.
*/
constexpr impl::TimingDistributionMetric read_heap_snapshot(1086);
/**
* generated from devtools.save_heap_snapshot
* The time (in milliseconds) that it took to save a heap snapshot in mozilla::devtools::ChromeUtils::SaveHeapSnapshot.
* This metric was generated to correspond to the Legacy Telemetry exponential histogram DEVTOOLS_SAVE_HEAP_SNAPSHOT_MS.
*/
constexpr impl::TimingDistributionMetric save_heap_snapshot(1087);
}
} // namespace mozilla::glean
#endif // mozilla_GleanDevtoolsSharedHeapsnapshotMetrics_h