A simple Windows command-line utility to measure process running time (total elapsed, kernel, and user), as well as peak working set and number of page faults.
timez command [arguments...]
You'll probably need a recent nightly build of the Zig compiler to build this project.
Consider using zigup (zigup master
).
zig build -Doptimize=ReleaseFast
The artifacts will be placed in zig-out/bin/
.
- Kernel/user time is wrong for multi-threaded processes.
- See if it's possible to get number of context switches without requiring admin rights.
- Investigate why sometimes kernel/user times are zero for short-lived processes.