Bonjour Michaël,
Here is an updated patch. While having a look at Kyotaro-san patch, I 
noticed that the aggregate stuff did not print the last aggregate. I think 
that it is a side effect of switching the precision from per-second to 
per-µs. I've done an attempt at also fixing that which seems to work.
-- 
Fabien.