Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Changed cpu_usage default to be non-zero #4811

Merged
merged 3 commits into from
Oct 22, 2019
Merged

Conversation

kmazurek
Copy link
Contributor

This changes the default value for the CPU usage benchmark to 1 second, preventing division by zero errors when calculating the usage factor.

@kmazurek kmazurek self-assigned this Oct 18, 2019
@codecov
Copy link

codecov bot commented Oct 21, 2019

Codecov Report

Merging #4811 into develop will increase coverage by 0.02%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop    #4811      +/-   ##
===========================================
+ Coverage    89.33%   89.35%   +0.02%     
===========================================
  Files          216      216              
  Lines        20109    20110       +1     
===========================================
+ Hits         17964    17970       +6     
+ Misses        2145     2140       -5

Copy link
Contributor

@mbenke mbenke left a comment

Choose a reason for hiding this comment

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

LGTM

@kmazurek kmazurek merged commit 81ee34f into develop Oct 22, 2019
@kmazurek kmazurek deleted the change-usage-default branch October 22, 2019 10:21
@Wiezzel Wiezzel mentioned this pull request Oct 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants