Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
SyedOmarNooredu opened this issue Aug 4, 2022 · 1 comment

Comments

@SyedOmarNooredu
Copy link

SyedOmarNooredu commented Aug 4, 2022

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?)

@qfaizan401
Copy link

Same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants