Ask Your Question
1

why TickMeter class only used in the gpu samples

asked 2015-07-24 13:36:46 -0600

 double t = (double)getTickCount();
 // code you want to measure the performance
 t = ((double)getTickCount() - t)/getTickFrequency();
 cout << "times passed in seconds: " << t << endl;

I am using the above code to measure performans.

recently i saw TickMeter class used in the gpu samples.

i wonder why that a useful class not available. is there any reason not to merge it to OpenCV core.

edit retag flag offensive close merge delete

Comments

@sturkmen did you figure out anything about that, because actually I think that TickMeter used to be in one of the previous version of OpenCV library 2.x but for some reason it has been removed from the new version.

theodore gravatar imagetheodore ( 2015-08-15 06:19:49 -0600 )edit

There is a pull request and you can download opencv from git and you will have TickMeter class outside GPU.

Thanks @theodore

LBerger gravatar imageLBerger ( 2015-08-20 07:00:41 -0600 )edit

however, we did not get any answer yet from the developers about the reason of removing it from the current version of OpenCV.

theodore gravatar imagetheodore ( 2015-08-20 07:10:05 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
2

answered 2015-08-15 06:30:22 -0600

theodore gravatar image

updated 2015-08-15 07:00:27 -0600

related to this question that has been asked recently and making a quick research I came up also with this question from @sturkmen related to the TickMeter class removal. Therefore, I would be interested to learn why has this class been removed from the new OpenCV 3.x version. I think that it was quite useful.

edit flag offensive delete link more

Comments

i guess. maybe the reason is documentation of the class. it has no documentation. if we complete the documentation they will merge it. @mshabunin what is your opinion ?

sturkmen gravatar imagesturkmen ( 2015-12-15 09:11:16 -0600 )edit

@theodore i opened an issue https://github.com/Itseez/opencv/issu.... if you think it will be useful please support my idea.

sturkmen gravatar imagesturkmen ( 2016-05-25 06:34:01 -0600 )edit

@sturkmen just do what @mshabunin says at github, then I guess it should be back

theodore gravatar imagetheodore ( 2016-05-25 08:01:09 -0600 )edit

Question Tools

Stats

Asked: 2015-07-24 13:36:46 -0600

Seen: 533 times

Last updated: Aug 15 '15