Solid

cpuinfo.h
1/*
2 SPDX-FileCopyrightText: 2010 Alex Merry <alex.merry@kdemail.net>
3
4 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5*/
6
7#ifndef SOLID_BACKENDS_UDEV_CPUINFO_H
8#define SOLID_BACKENDS_UDEV_CPUINFO_H
9
10#include <QString>
11
12namespace Solid
13{
14namespace Backends
15{
16namespace UDev
17{
18/**
19 * Extracts vendor from /proc/cpuinfo for a given processor
20 */
21QString extractCpuVendor(int processorNumber);
22/**
23 * Extracts model from /proc/cpuinfo for a given processor
24 */
25QString extractCpuModel(int processorNumber);
26/**
27 * Extracts speed from /proc/cpuinfo for a given processor
28 */
29int extractCurrentCpuSpeed(int processorNumber);
30
31}
32}
33}
34
35#endif // SOLID_BACKENDS_UDEV_CPUINFO_H
The single responsibility of this class is to create arguments valid for logind Inhibit call.
Definition fakebattery.h:16
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:17:12 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.