nmeter: add %T (zero-based timestamp) format
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 10 Jun 2020 13:37:39 +0000 (15:37 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 10 Jun 2020 13:37:39 +0000 (15:37 +0200)
commit4789c7cd8152fee53c176e569b022ec4013597a0
tree0fc5d8198b3448d1a03b0e965863a3daa363ef8c
parent505eeae402a84dc5208986c5ad611f5e485cbe34
nmeter: add %T (zero-based timestamp) format

function                                             old     new   delta
collect_tv                                             -     132    +132
collect_monotonic                                      -      61     +61
nmeter_main                                          754     778     +24
gmtime                                                 -      21     +21
init_monotonic                                         -      18     +18
init_functions                                        44      48      +4
packed_usage                                       33432   33420     -12
collect_time                                         125      19    -106
------------------------------------------------------------------------------
(add/remove: 5/0 grow/shrink: 2/2 up/down: 260/-118)          Total: 142 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
procps/nmeter.c