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
#ifndef mozilla_GleanDomPowerMetrics_h
#define mozilla_GleanDomPowerMetrics_h
#include "mozilla/glean/bindings/MetricTypes.h"
namespace mozilla::glean {
namespace screenwakelock {
/**
* generated from screenwakelock.held_duration
* How long a screen wake lock was held in ms
* This metric was generated to correspond to the Legacy Telemetry exponential histogram SCREENWAKELOCK_HELD_DURATION_MS.
*/
constexpr impl::TimingDistributionMetric held_duration(3809);
/**
* generated from screenwakelock.release_battery_level_discharging
* Battery level when discharging and the wake lock was released
* This metric was generated to correspond to the Legacy Telemetry linear histogram SCREENWAKELOCK_RELEASE_BATTERY_LEVEL_DISCHARGING.
*/
constexpr impl::CustomDistributionMetric release_battery_level_discharging(3810);
}
} // namespace mozilla::glean
#endif // mozilla_GleanDomPowerMetrics_h