blob: 56ca4f1d9cb4f65f006475e984e03524138c8156 [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_DEVELOPER_SYSTEM_MONITOR_BIN_HARVESTER_GATHER_CPU_H_
#define SRC_DEVELOPER_SYSTEM_MONITOR_BIN_HARVESTER_GATHER_CPU_H_
#include "gather_category.h"
namespace harvester {
class SampleBundle;
void AddGlobalCpuSamples(SampleBundle* samples, zx_handle_t info_resource);
class GatherCpu : public GatherCategory {
public:
GatherCpu(zx_handle_t info_resource, harvester::DockyardProxy* dockyard_proxy)
: GatherCategory(info_resource, dockyard_proxy) {}
// GatherCategory.
void GatherDeviceProperties() override;
void Gather() override;
};
} // namespace harvester
#endif // SRC_DEVELOPER_SYSTEM_MONITOR_BIN_HARVESTER_GATHER_CPU_H_