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
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:03:23 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.