Gwinel / likwid

Automatically exported from code.google.com/p/likwid
GNU General Public License v3.0
0 stars 0 forks source link

Add check for msr module #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
A major problem in using the tools is if the msr module is not loaded
or if the rights on the device files are not sufficient.

Solution:

Add a check on startup and issue a informative warning if
problems are detected.

Original issue reported on code.google.com by jan.trei...@gmail.com on 23 Oct 2009 at 2:17

GoogleCodeExporter commented 9 years ago
Introduce a routine msr_check in msr module.
This routine tries to open the file and issues a descriptive warning
if it fails.

Original comment by jan.trei...@gmail.com on 5 Nov 2009 at 12:36