@nnethercote
You could place a cargo.arg("-Ztimings"); after
cargo.arg("-Ztimings");
That will pass -Ztimings to every cargo invocation performed by ./x.py.
-Ztimings
./x.py