- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 56.2k
Implementations instrumentation framework for OpenCV performance test system; #7101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implementations instrumentation framework for OpenCV performance test system; #7101
Conversation
183195c
to
19811a7
Compare
Awesome useful feature! |
} | ||
} | ||
|
||
static double calcLocWeight(cv::instr::InstrNode *pNode) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
calcLocWeight -> calcLocalWeight ?
Same note for calcGlobWeight -> calcGlobalWeight
380e544
to
7a80926
Compare
"--perf_instrument" command line switch was added to ps |
950dc9e
to
f689b9c
Compare
Node<OBJECT>::Node() | ||
{ | ||
m_pParent = 0; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In general, implementation of template classes should be placed in headers (.hpp or .impl.hpp)
f689b9c
to
2a4efec
Compare
|
Great update! Looks good. BTW, What do you think about these macro changes? Are there any expected problems? |
I think it should work the same. Do you want me to integrate these changes into my commit? |
2a4efec
to
9fec107
Compare
New macro interface |
9fec107
to
a462d76
Compare
👍 |
This pullrequest changes
Instrumentation framework for OpenCV performance test system. It was developed to:
Framework can be enabled with ENABLE_INSTRUMENTATION define in CMake and disabled by default. In disabled state it doesn't consume resources.
Example instrumentation was implemented for cv::meanStdDev function:
Output example for IPP:
Output example for OpenCL: