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

Correlation.py and event_detail.py script #3

Open
nivi1501 opened this issue Feb 11, 2021 · 1 comment
Open

Correlation.py and event_detail.py script #3

nivi1501 opened this issue Feb 11, 2021 · 1 comment

Comments

@nivi1501
Copy link

nivi1501 commented Feb 11, 2021

I have successfully generated data in the out file, but I encounter following error while using event_detail script:
File "pandas/_libs/index.pyx", line 70, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/index.pyx", line 101, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/hashtable_class_helper.pxi", line 1675, in pandas._libs.hashtable.PyObjectHashTable.get_item
File "pandas/_libs/hashtable_class_helper.pxi", line 1683, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'AVG.OFFCORE_RESPONSE.ALL_RFO.L3_MISS.REMOTE_HIT_FORWARD'

The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/nivedita/Documents/Sem4/GITHUB/autoperf-master/analyze/profile/event_detail.py", line 68, in
make_plot(args.dir, args.features)
File "/home/nivedita/Documents/Sem4/GITHUB/autoperf-master/analyze/profile/event_detail.py", line 56, in make_plot
plot_events(df, features, filename, from_directory)
File "/home/nivedita/Documents/Sem4/GITHUB/autoperf-master/analyze/profile/event_detail.py", line 37, in plot_events
ax1.plot(df[feature], label=feature)
File "/home/nivedita/.local/lib/python3.6/site-packages/pandas/core/frame.py", line 2906, in getitem
indexer = self.columns.get_loc(key)
File "/home/nivedita/.local/lib/python3.6/site-packages/pandas/core/indexes/base.py", line 2900, in get_loc
raise KeyError(key) from err
KeyError: 'AVG.OFFCORE_RESPONSE.ALL_RFO.L3_MISS.REMOTE_HIT_FORWARD'

Moreover, I encountered assertion error while running correlation.py script.

Is there something that I am missing out. Please let me know.
Kindly, answer these queries as well:

  1. Can I analyze multiple codes using autoperf in separate command window. Will it affect my results?
  2. Will there be any affect of background process on the tool? What will be the effect, what can I do to avoid that?
@gz
Copy link
Owner

gz commented Feb 16, 2021

Hi,

it looks like the event AVG.OFFCORE_RESPONSE.ALL_RFO.L3_MISS.REMOTE_HIT_FORWARD is not found in the CSV file. Can you past it maybe on gist.github.com?

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