blob: a30f856084c1b8bf2209ea9126723688358221ae [file] [log] [blame]
// Copyright 2019 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.
#ifndef SRC_COBALT_BIN_SYSTEM_METRICS_FAKE_CPU_STATS_FETCHER_H_
#define SRC_COBALT_BIN_SYSTEM_METRICS_FAKE_CPU_STATS_FETCHER_H_
#include <lib/zx/resource.h>
#include "src/cobalt/bin/system-metrics/cpu_stats_fetcher.h"
namespace cobalt {
class FakeCpuStatsFetcher : public cobalt::CpuStatsFetcher {
public:
FakeCpuStatsFetcher();
bool FetchCpuPercentage(double *cpu_percentage) override;
};
} // namespace cobalt
#endif // SRC_COBALT_BIN_SYSTEM_METRICS_FAKE_CPU_STATS_FETCHER_H_