xrmx / bootchart

merge of bootchart-collector and pybootchartgui
GNU General Public License v2.0
233 stars 87 forks source link

draw.py: tolerate total_time == 0 #76

Closed mephi42 closed 7 years ago

mephi42 commented 7 years ago

Sometimes I get all 0s in sample.cpu_sample.sample_value, and pybootchartgui crashes with division by zero.

xrmx commented 7 years ago

Looks good, thanks!