NAME

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

VERSION

version 2.17

SYNOPSIS

See Linux::Info::SysInfo get_cpu method.

DESCRIPTION

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

METHODS

processor_regex

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

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.

get_cache

Returns a hash reference.

Each key is the name of a cache, and the value is also a hash reference with the attributes of each cache.

get_facilities

Returns an array reference with the list of the facilities the processor has.

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