Subject | Hash | Author | Date (UTC) |
---|---|---|---|
else indent style fix | 5b628493242860cdbec41a23e23bb561c96e4b40 | Joey Hess | 2017-10-30 16:49:12 |
ts: Introduce '-m' option to use CLOCK_MONOTONIC | d4592ac408f2086a3ed305c3fccf9107763e2be4 | Ben Leinweber | 2017-10-30 15:24:47 |
releasing package moreutils version 0.61 | 01d1b22f22fae647cbfd855dc82f8d9548607ab0 | Joey Hess | 2017-04-19 14:31:30 |
chronic: Flush output more often to better preserve stdout,err ordering. | 53c35a635276bb78f098947755dd072b5b800358 | Joey Hess | 2016-10-17 15:49:07 |
releasing package moreutils version 0.60 | 1173bd9f10d731485f3b63f1c7ff55eb9c58a605 | Joey Hess | 2016-08-13 13:58:21 |
Modify Cygwin check to use findstring instead of uname -o | 2d427c09cff6e7666e07c301c4b46c6206362a36 | Tony Kelman | 2016-08-10 03:23:52 |
changelog | e725f4d1607312a8ed3a5690e2926c26d5c48a61 | Joey Hess | 2016-07-19 01:03:36 |
include licence text | 29f0d5b620d63de94c066d50e4e468b51037c543 | Joey Hess | 2016-07-19 01:03:25 |
add dependency | e1a2473fff49f7caee1561bff38ee43ba5a97507 | Joey Hess | 2016-07-19 01:02:15 |
Merge is_utf8 from https://github.com/julienpalard/is_utf8. | 089fa36ad806246278b43df8dadb9a7882d39e54 | Julien Palard | 2016-07-18 22:48:55 |
changelog | ccf04c19111b1a2ccae7a16bb07a38a528a34a64 | Joey Hess | 2016-07-15 20:20:10 |
cygwin support | dee9b5042951795cd7abc415f1c4f4becc6363d3 | StalkR | 2016-07-15 08:48:35 |
releasing package moreutils version 0.59 | f891e8d7aafa336b89d0252e31bf52e1510de6b8 | Joey Hess | 2016-04-02 19:23:51 |
style cleanup | 411d6d3c6a8912c83cfc8a77747d4e68ed66cb4f | Joey Hess | 2016-04-02 19:22:55 |
stderr trigger and verbose mode | 5394ef715c4550a627bb2b212de55008f58302b1 | Tomas Mudrunka | 2016-03-31 15:01:35 |
changelog | 166ba94a0ead7e6cda383fe77ddfe2f682521e7d | Joey Hess | 2016-03-23 15:48:58 |
parallel: include signal.h to fix warning when building with clang | 181124dc64d3bb3eb5f6bbf8529a147d5e7db45b | Kevin Bullock | 2016-03-22 16:10:30 |
allow specifying alternate path to docbook-xsl stylesheets | 6d8329a424db3f8f3251a58fe581c94f33aa0fd6 | Kevin Bullock | 2016-03-22 16:10:29 |
releasing package moreutils version 0.58 | 415a2fecc251895b12351b5d21288ecb41516ca6 | Joey Hess | 2016-02-23 21:12:58 |
ts: disable utf8 warnings | 43996b2796d942bcd9b4bc9c8a06f18a735decda | Nicolas Schier | 2016-02-05 21:01:10 |
File | Lines added | Lines deleted |
---|---|---|
ts | 6 | 3 |
File ts changed (mode: 100755) (index 7f6992a..7134ea7) | |||
... | ... | if ($mono) { | |
92 | 92 | Time::HiRes::clock_gettime(CLOCK_MONOTONIC); | Time::HiRes::clock_gettime(CLOCK_MONOTONIC); |
93 | 93 | } elsif ($hires) { | } elsif ($hires) { |
94 | 94 | ($lastseconds, $lastmicroseconds) = Time::HiRes::gettimeofday(); | ($lastseconds, $lastmicroseconds) = Time::HiRes::gettimeofday(); |
95 | } else { | ||
95 | } | ||
96 | else { | ||
96 | 97 | $lastseconds = time; | $lastseconds = time; |
97 | 98 | } | } |
98 | 99 | ||
... | ... | while (<>) { | |
108 | 109 | $seconds = int($raw_time); | $seconds = int($raw_time); |
109 | 110 | $microseconds = $raw_time - $seconds; | $microseconds = $raw_time - $seconds; |
110 | 111 | print "$raw_time $seconds $microseconds\n"; | print "$raw_time $seconds $microseconds\n"; |
111 | } else { | ||
112 | } | ||
113 | else { | ||
112 | 114 | ($seconds, $microseconds) = Time::HiRes::gettimeofday(); | ($seconds, $microseconds) = Time::HiRes::gettimeofday(); |
113 | 115 | } | } |
114 | 116 | if ($inc || $sincestart) { | if ($inc || $sincestart) { |
... | ... | while (<>) { | |
137 | 139 | $lastseconds = $seconds; | $lastseconds = $seconds; |
138 | 140 | } | } |
139 | 141 | print strftime($format, localtime($deltaseconds)); | print strftime($format, localtime($deltaseconds)); |
140 | } else { | ||
142 | } | ||
143 | else { | ||
141 | 144 | print strftime($format, localtime); | print strftime($format, localtime); |
142 | 145 | } | } |
143 | 146 | } | } |