diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-08-12 20:58:27 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-08-12 20:58:27 +0000 |
commit | 6ca409e0e4c198fe3081346eebbae3f068fe605a (patch) | |
tree | 060cb05d99220a1eda399194d1209c269f0e8cd8 /miscutils/time.c | |
parent | 4185548984357df91311f30c8e43d95f33922576 (diff) | |
download | busybox-w32-6ca409e0e4c198fe3081346eebbae3f068fe605a.tar.gz busybox-w32-6ca409e0e4c198fe3081346eebbae3f068fe605a.tar.bz2 busybox-w32-6ca409e0e4c198fe3081346eebbae3f068fe605a.zip |
trylink: produce even more info about final link stage
trylink: explain how to modify link and drastically decrease amount
of padding (unfortunately, needs hand editing ATM).
*: add ALIGN1 / ALIGN2 to global strings and arrays of bytes and shorts
size saving: 0.5k
Diffstat (limited to 'miscutils/time.c')
-rw-r--r-- | miscutils/time.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/miscutils/time.c b/miscutils/time.c index 9b7db662a..e8473f702 100644 --- a/miscutils/time.c +++ b/miscutils/time.c | |||
@@ -23,15 +23,15 @@ typedef struct { | |||
23 | 23 | ||
24 | #define UL unsigned long | 24 | #define UL unsigned long |
25 | 25 | ||
26 | static const char default_format[] = "real\t%E\nuser\t%u\nsys\t%T"; | 26 | static const char default_format[] ALIGN1 = "real\t%E\nuser\t%u\nsys\t%T"; |
27 | 27 | ||
28 | /* The output format for the -p option .*/ | 28 | /* The output format for the -p option .*/ |
29 | static const char posix_format[] = "real %e\nuser %U\nsys %S"; | 29 | static const char posix_format[] ALIGN1 = "real %e\nuser %U\nsys %S"; |
30 | 30 | ||
31 | 31 | ||
32 | /* Format string for printing all statistics verbosely. | 32 | /* Format string for printing all statistics verbosely. |
33 | Keep this output to 24 lines so users on terminals can see it all.*/ | 33 | Keep this output to 24 lines so users on terminals can see it all.*/ |
34 | static const char long_format[] = | 34 | static const char long_format[] ALIGN1 = |
35 | "\tCommand being timed: \"%C\"\n" | 35 | "\tCommand being timed: \"%C\"\n" |
36 | "\tUser time (seconds): %U\n" | 36 | "\tUser time (seconds): %U\n" |
37 | "\tSystem time (seconds): %S\n" | 37 | "\tSystem time (seconds): %S\n" |