-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathREADME
34 lines (23 loc) · 869 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
tim
---
A silly little tool to time how long it takes to run a command. Similar to
"time" in bash, etc. but it can't be called "time" because the Windows shell
reserves that for the most useless utility ever.
Build
-----
From a vsvars32.bat shell (i.e. with compiler in the path):
C:\...\tim>m.bat
Example
-------
c:\src\proj>tim some.exe -with arguments
some.exe: blah blorp
some.exe: wee waa
peak memory: 8.22MB
real: 0m3.953s
qpc: 3940596us
Meaning it took just under 4 seconds to run some.exe and one of the child
processes in the process tree used a peak of 8.22 MB of commit. tim has no
command line arguments, everything after its name is the subcommand.
An identical copy of tim.exe is made as timavg.exe. If 'timavg' is used in place
of 'tim', the subcommand is run 7 times and the average is reported, discarding
fastest and slowest.