1303 files changed, 32187 insertions, 57138 deletions
diff --git a/miscutils/time.c b/miscutils/time.c index 19b0b44..23d18e1 100644 --- a/miscutils/time.c +++ b/miscutils/time.c @@ -8,6 +8,17 @@ Heavily modified by David MacKenzie <djm@gnu.ai.mit.edu>. Heavily modified for busybox by Erik Andersen <andersen@codepoet.org> */ +//config:config TIME +//config: bool "time" +//config: default y +//config: help +//config: The time command runs the specified program with the given arguments. +//config: When the command finishes, time writes a message to standard output +//config: giving timing statistics about this program run. + +//applet:IF_TIME(APPLET(time, BB_DIR_USR_BIN, BB_SUID_DROP)) + +//kbuild:lib-$(CONFIG_TIME) += time.o //usage:#define time_trivial_usage //usage: "[-v] PROG ARGS" @@ -17,6 +28,7 @@ #include "libbb.h" #include <sys/resource.h> /* getrusage */ +#include <android.h> /* Information on the resources used by a child process. */ typedef struct { |