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

Idle durations configurable #3

Merged
merged 3 commits into from
Aug 27, 2019
Merged

Idle durations configurable #3

merged 3 commits into from
Aug 27, 2019

Conversation

shortbloke
Copy link
Owner

No description provided.

@shortbloke shortbloke merged commit d7641fe into idle_adjust Aug 27, 2019
shortbloke added a commit that referenced this pull request Sep 7, 2019
* Add support for varrying the number of CPU cores being stressed. Defauly will be ALL, prevously was fixed at 4

* Remove f string formatting, to maintain Python 3.0 support

* Idle durations configurable (#3)

* Add ability to adjust idle time. Make stress duration more specific (#2)

* Don't wrap simple call for cpu core count

* remove :

* add gh-actions config

* gh-actions fix

* Trigger tests

* Apply black fixes

* Fix merge issues

* Address PR feedback:
* Use vcgencmd as default for for temperature and frequency measurement. Able to be overriden by passing file source as argument.
* Remove default file locations for frequency and temp. User would need to know and specify this now.
* If vcgencmd is not found, will now throw an exception not fall back to default file method.
* Always measure frequency.
* Format printing of temperature and frequency measurements.
* Simplication of setting a solid background colour for plot.

* Fix test failures:
* Change measure_core_frequency to return a float. Print messages used to format to zero decimal places.
* Update test to provide frequency file. As frequency is recorded by default.

* black fix

* Increase code coverage by covering plot of frequency.

* make cooldown poll interval configurable (to speed up unit test)

* Add additional tests. Improve code coverage.

* rename transparent plot argument to make it more logical

* Remove test which would call vcgencmd as this needs to be mocked.
Package isn't available to be installed on circleci test system.

* black fixes

* provide example file locations in help text for temperature and frequency
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.

1 participant