mips_cps_numcores(9)
π¦ mips_cps_numcores(9) β Kernel API Manual π¦
πΈ NAME πΈ
mips_cps_numcores β return the number of cores present in a cluster β¨
β¨ SYNOPSIS β¨
okay so the signature is literally this, no cap:
unsigned int mips_cps_numcores (unsigned int cluster );
π ARGUMENTS π
clusterβ the ID of the cluster whose core count we want, fr fr π
π DESCRIPTION π
so what does it actually do? It returns the value of the PCORES field of the GCR_CONFIG register plus 1 β or 0 if no Coherence Manager is present. That's it, that's the whole vibe π«Ά
π SEE ALSO π
Kernel file ./arch/mips/include/asm/mips-cps.h β and the whole friend group:
mips_cps_numclusters(9)mips_cps_cluster_config(9)mips_cps_numiocu(9)mips_cps_numvps(9)mips_cps_multicluster_cpus(9)mips_cps_first_online_in_cluster(9)
that's the page, bestie π«Ά β source/version: ./arch/mips/include/asm, date: October 2026. periodt π
π¦ 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