From b6f66f0412ba02a4696a9c5f4bd955adc6901ec2 Mon Sep 17 00:00:00 2001 From: Leon Freist Date: Sat, 24 Jun 2023 08:39:47 +0200 Subject: [PATCH] currenClockSpeed_MHz linux return --- src/linux/cpu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/linux/cpu.cpp b/src/linux/cpu.cpp index 5e6339e8..3ea5b5bf 100644 --- a/src/linux/cpu.cpp +++ b/src/linux/cpu.cpp @@ -32,7 +32,7 @@ int64_t get_freq_by_id_and_type(int proc_id, const std::string& type) { } // _____________________________________________________________________________________________________________________ -int CPU::currentClockSpeed_MHz() const { return get_freq_by_id_and_type(_core_id, "scaling_cur_freq"); } +int64_t CPU::currentClockSpeed_MHz() const { return get_freq_by_id_and_type(_core_id, "scaling_cur_freq"); } // ===================================================================================================================== // _____________________________________________________________________________________________________________________