The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Linux::Info::SysInfo::CPU::AMD - Collects AMD based CPU information from /proc/cpuinfo

VERSION

version 2.19

SYNOPSIS

See Linux::Info::SysInfo get_cpu method.

DESCRIPTION

This is a subclass of Linux::Info::SysInfo::CPU, with specific code to parse Intel format of "proc/cpuinfo".

METHODS

processor_regex

Returns a regular expression that identifies the processor that is being read.

get_bugs

Returns an array reference with all the bugs codes of this processor.

has_multithread

Returns "true" (1) or "false" (0) if the CPU has multithreading.

get_cores

Returns an integer of the number of cores available in the CPU.

get_threads

Returns an integer of the number of threads available per core in the CPU.

get_frequency

Returns a string with the maximum value of frequency of the CPU.

For some reason, the frequency in each one of the processors might be different from each one.

In order to provide a single value, the highest found is considered.

get_cache

Returns a string with the value of the cache of the CPU.

AUTHOR

Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2015 by Alceu Rodrigues de Freitas Junior.

This is free software, licensed under:

  The GNU General Public License, Version 3, June 2007