]> granicus.if.org Git - strace/commit
times.test: reduce cpu time consumption, increase struct tms diversity
authorDmitry V. Levin <ldv@altlinux.org>
Sun, 6 Dec 2015 04:51:57 +0000 (04:51 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sun, 6 Dec 2015 07:24:16 +0000 (07:24 +0000)
commitfc0a22d40b2e40d9a25e5f3c30e0144b8a15898f
treeeef21c15d15b9be1b341daa06079a14ba14e9b75
parentbb509aafb613ac7c069e9e3f7b61fdd52b1ec5c3
times.test: reduce cpu time consumption, increase struct tms diversity

* tests/times.c (main): Reduce cpu time consumption fourfold,
make the parent process consume less cpu time than the child process
so that members of the structure returned by times syscall would be
more likely to contain different values.
tests/times.c