Lib::CPUInfo::Cluster - CPUInfo Cluster object
version 0.001
my $index = 0; my $cluster = get_cluster($index); my $vendor = $cluster->vendor(); ...
processor_start
my $start = $cluster->processor_start();
Returns an integer.
processor_count
my $count = $cluster->processor_count();
core_start
my $start = $cluster->core_start();
core_count
my $count = $cluster->core_count();
cluster_id
my $id = $cluster->cluster_id();
package
my $package = $cluster->package();
Returns the Lib::CPUInfo::Package package object.
vendor
my $vendor = $cluster->vendor();
Returns the vendor string for the cluster.
Available values:
unknown
intel
amd
arm
qualcomm
apple
samsung
nvidia
mips
ibm
ingenic
via
cavium
broadcom
apm
huawei
hygon
texas_instruments
marvell
rdc
dmp
motorola
transmeta
cyrix
rise
nsc
sis
nexgen
umc
dec
uarch
my $uarch = $cluster->uarch();
Returns the uarch string for the cluster.
p5
quark
p6
dothan
yonah
conroe
penryn
nehalem
sandy_bridge
ivy_bridge
haswell
broadwell
sky_lake
kaby_lake
palm_cove
sunny_cove
willamette
prescott
bonnell
saltwell
silvermont
airmont
goldmont
goldmont_plus
knights_ferry
knights_corner
knights_landing
knights_hill
knights_mill
xscale
k5
k6
k7
k8
k10
bulldozer
piledriver
steamroller
excavator
zen
zen2
geode
bobcat
jaguar
puma
arm7
arm9
arm11
cortex_a5
cortex_a7
cortex_a8
cortex_a9
cortex_a12
cortex_a15
cortex_a17
cortex_a32
cortex_a35
cortex_a53
cortex_a55r0
cortex_a55
cortex_a57
cortex_a65
cortex_a72
cortex_a73
cortex_a75
cortex_a76
cortex_a76ae
cortex_a77
neoverse_n1
neoverse_e1
scorpion
krait
kryo
falkor
saphira
denver
denver2
carmel
exynos_m1
exynos_m2
exynos_m3
exynos_m4
exynos_m5
mongoose_m1
mongoose_m2
meerkat_m3
meerkat_m4
swift
cyclone
typhoon
twister
hurricane
monsoon
mistral
vortex
tempest
lightning
thunder
thunderx
thunderx2
pj4
brahma_b15
brahma_b53
xgene
dhyana
cpuid
my $cpuid = $cluster->cpuid();
This is only available on x86_64.
x86_64
midr
my $midr = $cluster->midr();
This is only available on ARM or ARM64.
frequency
my $frequency = $cluster->frequency();
Sawyer X
This software is copyright (c) 2021 by Sawyer X.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Lib::CPUInfo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lib::CPUInfo
CPAN shell
perl -MCPAN -e shell install Lib::CPUInfo
For more information on module installation, please visit the detailed CPAN module installation guide.