Skip to content

Update for M5max#90

Open
kerbeans wants to merge 2 commits into
tlkh:mainfrom
kerbeans:support-m5max
Open

Update for M5max#90
kerbeans wants to merge 2 commits into
tlkh:mainfrom
kerbeans:support-m5max

Conversation

@kerbeans

Copy link
Copy Markdown

No description provided.

@philipbergen

Copy link
Copy Markdown

I have a m5max and this pr is not working:

Traceback (most recent call last):
  File "/Users/philipbergen/Library/Python/3.12/lib/python/site-packages/asitop/utils.py", line 18, in parse_powermetrics
    cpu_metrics_dict = parse_cpu_metrics(powermetrics_parse)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/philipbergen/Library/Python/3.12/lib/python/site-packages/asitop/parsers.py", line 100, in parse_cpu_metrics
    (cpu_metric_dict["E0-Cluster_active"] + cpu_metric_dict["E1-Cluster_active"])/2)
     ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
KeyError: 'E0-Cluster_active'

@kerbeans kerbeans left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

have updated parser.py

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

Successfully merging this pull request may close these issues.

2 participants