ThisDevDane / otime

Rewrite of CTime by Casey Muratori in Odin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Otime logo
This program is a spirital successor for Casey Muratori's Ctime written in Odin

otime -stats jaze.otm

Stats from jaze.otm.

Total timings: 6436.
Total incomplete timings: 107.

Timings marked successful (2701):
  Slowest: 22.326 seconds
  Fastest: 0.046 seconds
  Average: 2.443 seconds
  Total:   1 hour, 50 minutes, 0.810 seconds

Timings marked failed (3628):
  Slowest: 1 minute, 46.796 seconds
  Fastest: 0.016 seconds
  Average: 0.609 seconds
  Total:   36 minutes, 52.238 seconds

Average of all groups:  1.369 seconds
Total of all groups:    2 hours, 26 minutes, 53.048 seconds

Usage

Otime will automatically create a file to store the data in when you start timing stuff. You simply put a otime -begin foo and otime -end foo.otm %err% around what you're timing, with foo being the filename you want otime to use, and %err% being the error code returned by what you're timing, you can omit %err% and otime will just assume that the timing was successful.
If want to see all options just write otime and it will print them.

About

Rewrite of CTime by Casey Muratori in Odin

License:MIT License


Languages

Language:Odin 97.6%Language:Batchfile 1.5%Language:Shell 0.9%