Skip to content
Snippets Groups Projects
  1. Mar 12, 2018
  2. Mar 08, 2018
  3. Feb 23, 2018
  4. Feb 21, 2018
  5. Feb 20, 2018
  6. Feb 19, 2018
  7. Feb 14, 2018
  8. Feb 06, 2018
  9. Feb 05, 2018
  10. Jan 10, 2018
  11. Jan 09, 2018
  12. Jan 05, 2018
  13. Jan 04, 2018
  14. Dec 22, 2017
  15. Dec 21, 2017
  16. Dec 14, 2017
  17. Dec 13, 2017
  18. Dec 12, 2017
  19. Dec 11, 2017
  20. Dec 06, 2017
  21. Nov 13, 2017
  22. Nov 03, 2017
  23. Nov 02, 2017
  24. Nov 01, 2017
    • Laurențiu Nicola's avatar
      4609c856
    • Laurențiu Nicola's avatar
      ENH: Add otbStopwatch replacing itk::TimeProbe · 7afea3ff
      Laurențiu Nicola authored
      The itk::TimeProbe constructor ends up calling
      itkResourceProbe::GetSystemInformation, which reads things like the
      hostname, the number of CPUs and so on. On Linux it parses /proc/cpuinfo
      for that information.
      
      OTB doesn't really need all those fields for a simple timer that's only
      used in a couple of places. This commit adds a replacement for that.
      
      As for the benchmarks, 100 000 instantiations of itk::TimeProbe take
      about 9.5 s on my computer. I suspect it's somewhat slower on a server
      with more CPUs. So this doesn't bring a huge performance improvement,
      but it might help in cases where a large number of high-resolution
      images are being read. The time for the same number of otb::Stopwatch
      instantiations is 4 ms.
      
      The context for this change is a project where we process time series of
      medium to high resolution images over large areas. The TimeProbe in
      otbGDALImageIO was sometimes showing in the profiles.
      
      A relevant discussion can be found at
      https://groups.google.com/d/msg/otb-developers/IvsFzSgRojo/0sMeEIZgCQAJ .
      7afea3ff
  25. Oct 31, 2017
  26. Oct 27, 2017
  27. Oct 25, 2017
  28. Sep 20, 2017
  29. Sep 19, 2017
  30. Sep 14, 2017
  31. Sep 13, 2017
  32. Sep 01, 2017
Loading