Loading...
Searching...
No Matches
benchmark_systeminfo

Definition

Collect system related information

Examples

The following example demonstrates some of the methods found in the benchmark_systeminfo module.

use benchmark_systeminfo
write (*, '(A)') 'OS:'//os_name(get_os_type())


Remarks

This steps retrieves system information at run time. The method was inspired by the paramonte library from AmirShahmoradi. It has been simplified and adapted to the needs

Attention
The method get_systeminfo() saves system related information in a file named sys.info. That file is used as cache in the subsequent calls. It is usually located next to the running program and as such one shall have write permission when using this function.
Note
If the configuration of the computer changed (os version, hardware,...) make sure to delete the cache before starting the program again.