pyRAPL icon indicating copy to clipboard operation
pyRAPL copied to clipboard

FileNotFoundError: [Errno 2] No such file or directory: '/sys/devices/system/cpu/present' i.e. Windows support

Open SyedOmarNooredu opened this issue 1 year ago • 1 comments

I ran the example with a simple loop:

import pyRAPL

pyRAPL.setup() 

@pyRAPL.measureit
def foo():
    a = 0
    for x in range(10000000000):
        a += x
    print(x)

foo()

and it gave the above error. It looks like a Linux directory. Surprised it doesn't support Windows (or did I miss something?)

SyedOmarNooredu avatar Aug 04 '22 05:08 SyedOmarNooredu

Same problem

qfaizan401 avatar Sep 09 '22 17:09 qfaizan401