Closed daggarwa closed 5 years ago
@deeplearningrobotics I have implemented the changes to compute and log the CPU load % in performance test results and report. Can you please review these changes. Thanks!
@monidzik Can you please review this PR. Thanks!
@daggarwa One more comment, I run this with -DPERFORMANCE_TEST_ODB_FOR_SQL_ENABLED=ON
to see if the new cpu_load value is correctly stored in the database - and I got error in analysis_result.hpp
, in AnalysisResult() {}
because m_cpu_load
is not initialized. So to resolve this please change line 163 to const float_t m_cpu_load = {};
Thanks!
@daggarwa One more comment, I run this with
-DPERFORMANCE_TEST_ODB_FOR_SQL_ENABLED=ON
to see if the new cpu_load value is correctly stored in the database - and I got error inanalysis_result.hpp
, inAnalysisResult() {}
becausem_cpu_load
is not initialized. So to resolve this please change line 163 toconst float_t m_cpu_load = {};
Thanks!
@monidzik Okay thank you for that catch. I will change it accordingly.
@monidzik I have addressed all your comments. @deeplearningrobotics Can you please do the final review. Thanks!
@deeplearningrobotics I have addressed all your review comments. Can you please review it once? Thanks
@deeplearningrobotics I have addressed all your review comments. Please review once. Thanks!
This PR contains changes to :
cpu usage(%)
logging the cpu load.The new column added can be seen in the screenshot below with the load values logged throughout the experiment run:
The
cpu usage(%)
is seen as part of the generated pdf on the usage graph on the right plotted as a blue line and also a new field calledcpu usage(%)
is seen as part ofaverage results
section of the report.This change is