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

Fix for #54 #55

Merged
merged 4 commits into from
Jan 24, 2024
Merged

Fix for #54 #55

merged 4 commits into from
Jan 24, 2024

Conversation

alamers
Copy link

@alamers alamers commented Jan 15, 2024

  • added support for intel mac power measurements
  • fixed potential missed messages when buffer wasn't fully read (reusing the same buffered reader now)
  • added test cases

fixed potential missed messages when buffer wasn't fully read
added test cases
Copy link
Contributor

@metacosm metacosm left a comment

Choose a reason for hiding this comment

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

LGTM pending actual testing on my system, which I will do tomorrow. The comments could be addressed in a subsequent PR since they are mostly about optimization.

@adelnoureddine
Copy link
Member

Thanks @alamers for the PR and @metacosm for the review. As soon as you're both happy with the code, I'll merge it.
So far so good for me, as long as we support :

  • Intel Mac
  • M1/M2 mac with combined line or without

@metacosm
Copy link
Contributor

I'm OK with merging as-is.

…server/tree/main

moved intel vs m chip parsing to separate functions for performance
added readHeader to detect intel vs m chip
@adelnoureddine
Copy link
Member

Thanks a lot @alamers and @metacosm. This seems to me quite good for me, and I'll merge your PR.

@adelnoureddine adelnoureddine self-assigned this Jan 24, 2024
@adelnoureddine adelnoureddine linked an issue Jan 24, 2024 that may be closed by this pull request
@adelnoureddine adelnoureddine merged commit 7b2a37a into joular:develop Jan 24, 2024
1 check passed
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.

Mac support: Program consumed 0 joules
3 participants