Lib::CPUInfo::Cache - CPUInfo Cache object
version 0.001
my $index = 0; my $cache = get_l1i_cache($index); my $size = $cache->size(); ...
size
my $size = $cache->size();
Returns an integer.
associativity
my $size = $cache->associativity();
sets
my $size = $cache->sets();
partitions
my $size = $cache->partitions();
line_size
my $size = $cache->line_size();
flags
my $size = $cache->flags();
processor_start
my $size = $cache->processor_start();
processor_count
my $size = $cache->processor_count();
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.