utils_cpuinfo

Module

Description

This module extracts information about the system hardware

References:

None

Owner:

Daniel Price

Runtime parameters:

None

Dependencies:

None

Quick access

Variables:

matchname, readval, readvali, readvalr

Routines:

get_cpuinfo(), print_cpuinfo()

Variables

  • cpuinfo/matchname [private]
  • cpuinfo/readval [private]
  • cpuinfo/readvali [private]
  • cpuinfo/readvalr [private]

Subroutines and functions

subroutine  cpuinfo/print_cpuinfo([unit])
Parameters:

unit [integer,in,]

Call to:

get_cpuinfo()

subroutine  cpuinfo/get_cpuinfo(ncpu, ncpureal, cpuspeed, cpumodel, cachesize, ierr)
Parameters:
  • ncpu [integer,out]

  • ncpureal [integer,out]

  • cpuspeed [real,out] :: convert cpu speed to GHz

  • cpumodel [character,out]

  • cachesize [character,out]

  • ierr [integer,out]

Called from:

print_cpuinfo()