aboutsummaryrefslogtreecommitdiff
path: root/miscutils/time.c
Commit message (Collapse)AuthorAgeFilesLines
* wget: use monotonic_sec instead of gettimeofdayGravatar Denis Vlasenko2007-06-171-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | zcip: use monotonic_us instead of gettimeofday udhcpcd: simpler, shorter random_xid() function old new delta monotonic_sec - 41 +41 find_pair 164 180 +16 run_list_real 2018 2028 +10 cmp_main 547 555 +8 collect_ctx 112 119 +7 singlemount 4544 4549 +5 time_main 1124 1128 +4 static.start_sec - 4 +4 static.lastupdate_sec - 4 +4 sock - 4 +4 read_package_field 253 257 +4 pick 38 40 +2 get_next_line 145 147 +2 count_lines 59 61 +2 process_stdin 435 433 -2 xstrtoul_range_sfx 229 226 -3 static.initialized 4 1 -3 dhcprelay_main 1125 1122 -3 catcher 380 377 -3 arping_main 1969 1966 -3 s 8 4 -4 cfg 4 - -4 static.lastupdate 8 - -8 start 8 - -8 random_xid 95 33 -62 .rodata 129114 129050 -64 zcip_main 1731 1576 -155 progressmeter 1035 867 -168 ------------------------------------------------------------------------------ (add/remove: 4/3 grow/shrink: 10/11 up/down: 113/-490) Total: -377 bytes
* hwclock: size optimizationsGravatar Denis Vlasenko2007-06-171-104/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | libbb/time.c: new file, introducing monotonic_us() pscan, traceroute, arping: use it instead of gettimeofday ping, zcip: TODO function old new delta monotonic_us - 89 +89 find_pair 164 180 +16 .rodata 129747 129763 +16 refresh 1144 1152 +8 ............ timeout 8 4 -4 static.start 8 4 -4 last 8 4 -4 parse_conf 1303 1284 -19 time_main 1149 1124 -25 gettimeofday_us 39 - -39 arping_main 2042 1969 -73 hwclock_main 594 501 -93 catcher 485 380 -105 traceroute_main 4300 4117 -183 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 8/11 up/down: 157/-562) Total: -405 bytes
* time: *const str = "xxx" ==> str[] = "xxx"Gravatar Denis Vlasenko2007-06-171-3/+3
|
* usage.c: remove reference to busybox.hGravatar Denis Vlasenko2007-05-261-1/+1
| | | | | *: s/include "busybox.h"/include "libbb.h"
* EXEC_PREFER_APPLETS support by Gabriel L. Somlo <somlo@cmu.edu>Gravatar Denis Vlasenko2007-02-061-1/+1
|
* suppress warnings about easch <applet>_main() havingGravatar Denis Vlasenko2007-02-031-0/+1
| | | | no preceding prototype
* time: -200 bytes of textGravatar Denis Vlasenko2006-12-221-84/+96
|
* time: fix option parsing bug, size optimizationsGravatar Denis Vlasenko2006-12-221-28/+22
|
* Change license statements (and clean up headers) on some of the files thatGravatar Rob Landley2006-09-221-13/+1
| | | | Erik or I are primary copyright holders on.
* use vfork() instead of vork() since the only thing we do is execve() an app ↵Gravatar Mike Frysinger2006-06-061-1/+1
| | | | after fork (allows time to work on no-mmu)
* - use bb_msg_write_error in 3 placesGravatar Bernhard Reutner-Fischer2006-06-031-368/+346
| | | | - whitespace
* - move #include busybox.h to the very top so we pull in the configGravatar Bernhard Reutner-Fischer2006-06-031-1/+1
| | | | and eventual platform specific includes in early.
* Consolidate #include <sys/time.h> so libbb.h does it.Gravatar Rob Landley2006-05-271-1/+0
|
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionGravatar Rob Landley2006-03-061-1/+1
| | | | definitions. (That should only be on prototypes.)
* Remove trailing whitespace. Update copyright to include 2004.Gravatar Eric Andersen2004-03-151-1/+1
|
* Patch from Steven Scholz to send the output from 'time'Gravatar Eric Andersen2003-11-071-2/+2
| | | | | | | | | | | to stderr, rather than stdout, so that things like ~ # time bunzip2 -c /tmp/test.bz2 > /dev/null real 0m 29.44s user 0m 29.30s sys 0m 0.12s operate as expected.
* Major coreutils update.Gravatar Manuel Novoa III2003-03-191-8/+8
|
* Doh. We divide microseconds by 60?Gravatar Eric Andersen2002-09-301-2/+2
|
* Bug fix from Nitin Gupta <gupta@equator.com>Gravatar Eric Andersen2002-09-271-4/+4
|
* Add in a 'time' applet. Adds 4.5k.Gravatar Eric Andersen2001-11-301-0/+502
-Erik