1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

perf reports: remove units from table cells

- moved to table title
- can be restored via '--show_units' option
- fix microseconds: mks -> us
This commit is contained in:
Alexander Alekhin
2018-01-27 14:30:37 +00:00
parent f1c52e426b
commit daf3368d2e
5 changed files with 16 additions and 10 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ class TestInfo(object):
frequency = self.metrix.get("frequency", 1.0) or 1.0
if units == "ms":
scale = 1000.0
if units == "mks":
if units == "us" or units == "mks": # mks is typo error for microsecond (<= OpenCV 3.4)
scale = 1000000.0
if units == "ns":
scale = 1000000000.0