I tried to insert PCM API into my code to measure memory saturation and I encountered the following problem. As I am not administrator of the public machien, I do not have root authority nor access to /dev/cpu/*/msr. Is there anyway that I can redirect the workspace path or device path ?
Also I am wondering if system admin can open the directory for users.
Core PMU (perfmon) version: 3
Number of core PMU generic (programmable) counters: 4
Width of generic (programmable) counters: 48 bits
Number of core PMU fixed counters: 3
Width of fixed counters: 48 bits
Can not access CPUs Model Specific Registers (MSRs).
Try to execute 'modprobe msr' as root user and then
you also must have read and write permissions for /dev/cpu/*/msr devices (/dev/msr* for Android). The 'chown' command can help.