blob: 6d6b31a60d60b54b157a16fd806392e771e5b217 [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.
#include "src/cobalt/bin/system-metrics/fake_cpu_stats_fetcher.h"
#include <lib/zx/resource.h>
namespace cobalt {
FakeCpuStatsFetcher::FakeCpuStatsFetcher() {}
bool FakeCpuStatsFetcher::FetchCpuPercentage(double *cpu_percentage) {
*cpu_percentage = 12.34;
return true;
}
} // namespace cobalt