Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • otb otb
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 213
    • Issues 213
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 13
    • Merge requests 13
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Main Repositories
  • otbotb
  • Issues
  • #763

Output time of otbcli applications in minutes, seconds instead of scientific notation

Mantis Issue 763, reported by dcd, assigned to jmichel, created: 2013-08-19

The output time after the progress isn't too informative unless you can divide scientific notation in your head (which I suspect many do). Can this just output in minutes and seconds instead?

Writing /home/socrates/test/labeled_image.tif...: 100% [**************************************************] (3e+02 seconds)

This is a little more user friendly:

Writing /home/socrates/test/labeled_image.tif...: 100% [**************************************************] (5m2s)

Steps to reproduce:

run otbcli_ImageClassifier

likely an issue with other otbcli applications

2013-08-19 20:01 - dcd: OTB 3.18.1 downloaded via mecurial and compiled

2013-08-20 16:54 - grizonnetm: agree that it should be nice to add this functionality.

In this case OTB rely on an ITK functionality to trace the time of processing. It uses internally the itkTimeProbe class:

http://hg.orfeo-toolbox.org/OTB/file/d96b1e621003/Utilities/ITK/Code/Common/itkTimeProbe.h#l39

perhaps this functionality exists now in new ITKv4 version.

Edited Feb 01, 2018 by Sébastien Dinot
Assignee
Assign to
Time tracking