Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
6d09dd5c
Commit
6d09dd5c
authored
Sep 07, 2011
by
Andrey Kamaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Perf tests: minor fix in chart.py
parent
505e8e09
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
chart.py
modules/ts/misc/chart.py
+3
-2
No files found.
modules/ts/misc/chart.py
View file @
6d09dd5c
...
...
@@ -121,7 +121,8 @@ if __name__ == "__main__":
names
=
set
()
for
pair
in
tests
:
sn
=
pair
[
0
]
.
shortName
()
names
.
add
(
sn
)
if
len
(
pair
[
1
])
>
1
:
names
.
add
(
sn
)
if
sn
==
sname
:
if
len
(
pair
[
1
])
!=
argsnum
:
print
>>
sys
.
stderr
,
"Error - unable to create chart tables for functions having different argument numbers"
...
...
@@ -130,7 +131,7 @@ if __name__ == "__main__":
arglists
[
i
][
pair
[
1
][
i
]]
=
1
if
len
(
names
)
!=
1
:
print
>>
sys
.
stderr
,
"Error - unable to create
chart
tables for functions from different test suits:"
print
>>
sys
.
stderr
,
"Error - unable to create tables for functions from different test suits:"
i
=
1
for
name
in
sorted
(
names
):
print
>>
sys
.
stderr
,
"
%4
s:
%
s"
%
(
i
,
name
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment