Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ThisDevDane authored Nov 13, 2017
1 parent 9039987 commit 7402bc7
Showing 1 changed file with 29 additions and 3 deletions.
32 changes: 29 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
# otime
Rewrite of CTime by Casey Muratori in Odin
Latest tested with 'Odin v0.0.5e'
# Otime
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.

0 comments on commit 7402bc7

Please sign in to comment.