The threads mode's committing threads ended before the process-wide
reading after the run, and their per-thread CPU went with them, so the CPU
that commit_and_submit moves onto them was not counted. Each thread now reads
its own CPU (CLOCK_THREAD_CPUTIME_ID) before it ends, and the mode prints
their sum per command buffer. The main thread is grouped by the name's prefix
too, since a copied binary runs under another name.
Verified: clippy -D warnings on the example; run on the 5080 for the M1 and
wake numbers.
(cherry picked from commit 7822ca3293633c6da2fa4a1a734e137dc792ddbc)
(cherry picked from commit 951eb7841e4274bce6b276d36ae89245ad554ba4)
(cherry picked from commit 9e2d82e104f88da4f98cc14073a48f3eaaff97d8)