[Kwiver-users] Time logging in KWIVER

Matt Brown matt.brown at kitware.com
Wed Nov 15 11:35:12 EST 2017


Do we have or can we decide on a standard practice for logging processing
time debug. I have gotten into the habit of wrapping the _step in my
processes with

kwiver::vital::wall_timer timer;
timer.start();
...
timer.stop();
double elapsed_time = timer.elapsed();
LOG_DEBUG( logger(), "Elapsed time detecting objects: " << elapsed_time );

Some questions:

   - Should this be TRACE or DEBUG?
   - Should we should wall and/or CPU timing?
   - Will all of this be superseded by a more-unified framework that does
   this automatically?

Best,
Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/kwiver-users/attachments/20171115/69e4d551/attachment.html>


More information about the Kwiver-users mailing list