Skip to content

Commit 885703f

Browse files
committed
rename library
1 parent 63c12cc commit 885703f

24 files changed

+876
-230
lines changed

MANIFEST.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
recursive-include perfmon/include/ *
2+
include performance_features/workload.cpp
3+
include performance_features/workload.h
4+
include ../README.md

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ sudo ./install.sh
3232

3333
### List events
3434
```python
35-
from profiler import *
35+
from performance_features import *
3636

3737
print(get_supported_pmus())
3838
print(get_supported_events())
3939
```
4040

4141
### Sampling events
4242
```python
43-
from profiler import *
43+
from performance_features import *
4444

4545
try:
4646
events= [['PERF_COUNT_HW_INSTRUCTIONS'],

main.py renamed to example.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
from profiler import Profiler, get_supported_events
1+
from performance_features import Profiler
22
import pandas as pd
3-
import numpy as np
43

54
try:
65
evs_monitor = [["PERF_COUNT_HW_INSTRUCTIONS"], ["SYSTEMWIDE:RAPL_ENERGY_PKG"]]

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
sudo apt update
44
sudo apt install g++ gcc swig libpfm4-dev python3-dev python3-pip
5-
cd profiler/
5+
cd performance_features/
66
python3 setup.py build
77
python3 setup.py install
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

profiler/perfmon/perfmon_int.py renamed to perfmon/perfmon_int.py

Lines changed: 801 additions & 195 deletions
Large diffs are not rendered by default.
File renamed without changes.

0 commit comments

Comments
 (0)