NAME
Lib::CPUInfo::Cluster - CPUInfo Cluster object
VERSION
version 0.001
SYNOPSIS
my $index = 0;
my $cluster = get_cluster($index);
my $vendor = $cluster->vendor();
...
ATTRIBUTES
processor_start
my $start = $cluster->processor_start();
Returns an integer.
processor_count
my $count = $cluster->processor_count();
Returns an integer.
core_start
my $start = $cluster->core_start();
Returns an integer.
core_count
my $count = $cluster->core_count();
Returns an integer.
cluster_id
my $id = $cluster->cluster_id();
Returns an integer.
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.
Available values:
unknown
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();
Returns an integer.
This is only available on x86_64
.
midr
my $midr = $cluster->midr();
Returns an integer.
This is only available on ARM or ARM64.
frequency
my $frequency = $cluster->frequency();
Returns an integer.
AUTHOR
Sawyer X
COPYRIGHT AND LICENSE
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.