run-tests: spread and document the content of time tuple
The spreading will make future modification clearer. The documentation improve
code readability.
--- a/tests/run-tests.py Thu May 07 23:16:57 2015 -0700
+++ b/tests/run-tests.py Thu May 07 23:25:13 2015 -0700
@@ -1308,8 +1308,11 @@
starttime = test.started
endtime = test.stopped
- self.times.append((test.name, endtime[2] - starttime[2],
- endtime[3] - starttime[3], endtime[4] - starttime[4]))
+ self.times.append((test.name,
+ endtime[2] - starttime[2], # user space CPU time
+ endtime[3] - starttime[3], # sys space CPU time
+ endtime[4] - starttime[4], # real time
+ ))
if interrupted:
iolock.acquire()