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