IRNAS / ppk2-api-python

Power Profiling Kit 2 unofficial python api.
http://irnas.eu
GNU General Public License v2.0
145 stars 37 forks source link

add multiprocessing variant #9

Closed hyperglitch closed 3 years ago

hyperglitch commented 3 years ago

I added another class which spawns background process to fetch the data from the device so it shouldn't skip samples if not polled constantly. API should be the same, just use PPK2_MP instead of PPK2_API

hyperglitch commented 3 years ago

Thanks! I added another commit which includes your suggestions.

wlgrd commented 3 years ago

I can't merge your changes, but would love for them to be merged =)

hyperglitch commented 3 years ago

you mean you don't have permissions or something's wrong with the pull request (I don't have much experience with the whole pull-request workflow :))

wlgrd commented 3 years ago

Didn't have permission until just a moment ago :) Will test it more thoroughly when I'm back at the computer this evening or tomorrow and get it done 👌

hyperglitch commented 3 years ago

Thanks! I made this for the specific case I had and there are probably some issues when used differently so please let me know if you find anything.

wlgrd commented 3 years ago

Good stuff! Sorry for the delayed review