blob: 3a02be1ccea4a73c4ae9c97122ea97fa9644cfd1 [file]
// Copyright 2021 The Chromium Authors
// 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_