mips_cps_numvps(9)
β¨ NAME β¨
Welcome to the Kernel API Manual, bestie! π This is mips_cps_numvps(9), and it's literally the page that tells you how many VPs a core has. Main character energy fr fr. π
mips_cps_numvps β return the number of VPs (threads) supported by a core
π¦ SYNOPSIS π¦
unsigned int mips_cps_numvps (unsigned int cluster , unsigned int core
);
πΈ ARGUMENTS πΈ
clusterβ the ID of the cluster containing the core we want to examine. Like, which cluster's group chat are we checking? πcoreβ the ID of the core whose VP count we want. This is the exact core bestie whose squad size we're curious about, iykyk.
π DESCRIPTION π
Returns the number of Virtual Processors (VPs, ie. hardware threads) that are supported by the given core in the given cluster. The way that it just takes a cluster ID and a core ID and hands you back the VP count is so clean, no cap. β¨ Lowkey obsessed with how simple this is.
π¨ Important vibe check: if the core or the kernel do not support hardware mutlti-threading this returns 1. Periodt.
π SEE ALSO π
Kernel file: ./arch/mips/include/asm/mips-cps.h
mips_cps_numclusters(9)mips_cps_cluster_config(9)mips_cps_numcores(9)mips_cps_numiocu(9)mips_cps_multicluster_cpus(9)mips_cps_first_online_in_cluster(9)
xoxo, source/version: ./arch/mips/include/asm Β· date: October 2026 Β· page: mips_cps_numvps(9) π
β¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms