KySdkCpuInfo(3)

📦 version 3.0.1.4, in arch rolling, ubuntu resolute, ubuntu stonking

✨ NAME ✨

okay bestie, welcome to KySdkCpuInfo(3) — yes that's the page, and yes it lives in the Library Functions Manual section 3 🎀

KySdkCpuInfo — the class that generates the cpu info dbus signals 💖 its whole main character job is spitting out dbus signals for the cpu's architecture, vendor, model, rated frequency, core count, virtualization support and thread count. that's it, that's the gig 👑


🌸 SYNOPSIS 🌸

#include <kysdkdbus.h>

Inherits QObject.

💅 Public Slots

  • QString getCpuArch () const — grab the cpu architecture 🏗️
  • QString getCpuVendor () const — grab the cpu vendor 🏭
  • QString getCpuModel () const — grab the cpu model 🏷️
  • QString getCpuFreqMHz () const — grab the cpu rated frequency ⏱️
  • unsigned int getCpuCorenums () const — grab the number of cpu cores 🧠
  • QString getCpuVirt () const — grab the cpu's virtualization support 🧚
  • unsigned int getCpuProcess () const — grab the cpu thread count 🧵

🦋 Detailed Description 🦋

so, this is the class that generates the cpu info dbus signals 💫 it's mainly there to generate dbus signals carrying the cpu's architecture, vendor, model, rated frequency, core count, virtualization support and thread count info. no cap, that's the entire assignment 🫶


👑 Public Slots 👑

QString KySdkCpuInfo::getCpuArch () const [slot]

获取cpu架构 — get the cpu architecture 🏗️

Returns QString — the architecture info, like 'x86_64' ✨

unsigned int KySdkCpuInfo::getCpuCorenums () const [slot]

获取cpu核心数量 — get the number of cpu cores 🧠

Returns unsigned int — the count of all available CPU cores

QString KySdkCpuInfo::getCpuFreqMHz () const [slot]

获取cpu额定主频 — get the cpu rated frequency ⏱️

Returns QString — the rated frequency in hertz, like “1794.742” 🌸

QString KySdkCpuInfo::getCpuModel () const [slot]

获取cpu型号 — get the cpu model 🏷️

Returns QString — the CPU model name, like “Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz” 🔥

unsigned int KySdkCpuInfo::getCpuProcess () const [slot]

获取cpu线程数 — get the cpu thread count 🧵

Returns unsigned int — the number of threads the cpu supports 💅

QString KySdkCpuInfo::getCpuVendor () const [slot]

获取cpu制造厂商 — get the cpu vendor 🏭

Returns QString — the vendor, like “GenuineIntel” ⭐

QString KySdkCpuInfo::getCpuVirt () const [slot]

获取cpu对虚拟化的支持 — get the cpu's virtualization support 🧚

Returns QString — if the CPU supports virtualization, it hands you the virtualization technology, like “vmx”; if it doesn't support it, it returns NULL 💀


✍️ Author ✍️

Generated automatically by Doxygen for kysdkdbus.h from the source code.


and that's the whole page, bestie 🫶 this one came from My Project, dated Wed Sep 20 2023, and it's giving very much "read it and slay" 🌈💖 periodt ✨

📦 where this page comes from