1234567891011121314151617181920 |
- // Copyright 2021 The Chromium Authors. All rights reserved.
- // Use of this source code is governed by a BSD-style license that can be
- // found in the LICENSE file.
- #ifndef SERVICES_DEVICE_COMPUTE_PRESSURE_PRESSURE_SAMPLE_H_
- #define SERVICES_DEVICE_COMPUTE_PRESSURE_PRESSURE_SAMPLE_H_
- namespace device {
- // Represents availability of compute resources measured over a period of time.
- struct PressureSample {
- // Average utilization of all CPU cores.
- //
- // Values use a scale from 0.0 (no utilization) to 1.0 (100% utilization).
- double cpu_utilization;
- };
- } // namespace device
- #endif // SERVICES_DEVICE_COMPUTE_PRESSURE_PRESSURE_SAMPLE_H_
|