Skip to content

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

Description

@SyedOmarNooredu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions