blob: 8baab6da7b8e65ad12fb9821c590025dc9a04799 [file] [log] [blame] [edit]
// Copyright 2023 The ChromiumOS Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef RUNTIME_PROBE_FUNCTIONS_GENERIC_CPU_H_
#define RUNTIME_PROBE_FUNCTIONS_GENERIC_CPU_H_
#include "runtime_probe/probe_function.h"
namespace runtime_probe {
class GenericCpuFunction : public ProbeFunction {
using ProbeFunction::ProbeFunction;
public:
NAME_PROBE_FUNCTION("generic_cpu");
private:
void EvalAsyncImpl(base::OnceCallback<void(DataType)>) const override;
};
} // namespace runtime_probe
#endif // RUNTIME_PROBE_FUNCTIONS_GENERIC_CPU_H_