compat-wireless: add -t argument for time statistics
authorLuis R. Rodriguez <mcgrof@frijolero.org>
Mon, 30 Apr 2012 20:38:34 +0000 (13:38 -0700)
committerLuis R. Rodriguez <mcgrof@frijolero.org>
Mon, 30 Apr 2012 20:38:34 +0000 (13:38 -0700)
commit10440bf0b5247e17cfcf862a9b2d8bc5dd1dd46e
tree92ef7110eaed41c3970bee0b39e017000d14e935
parentc1e6e1be68c1be333a98f15b632918e42057b86c
compat-wireless: add -t argument for time statistics

Using -t is the equilavent of doing:

time ckmake; time ckmake | egrep "real|user|sys"

This is useful to test compiling accross kernel twice,
once under the assumption that ccache may likely be cleared,
the other with ccache fresh.

This will yield this output:

mcgrof@tux ~/compat (git::master)$ ckmake -t
Trying kernel                  3.4.0-030400rc1-generic [OK]
Trying kernel                  3.3.0-030300rc2-generic [OK]
Trying kernel                     3.2.2-030202-generic [OK]
Trying kernel                    3.1.10-030110-generic [OK]
Trying kernel                    3.0.18-030018-generic [OK]
Trying kernel                  2.6.39-02063904-generic [OK]
Trying kernel                  2.6.38-02063808-generic [OK]
Trying kernel                  2.6.37-02063706-generic [OK]
Trying kernel                  2.6.36-02063604-generic [OK]
Trying kernel                  2.6.35-02063512-generic [OK]
Trying kernel                  2.6.34-02063410-generic [OK]
Trying kernel                  2.6.33-02063305-generic [OK]
Trying kernel                  2.6.32-02063255-generic [OK]
Trying kernel                  2.6.31-02063113-generic [OK]
Trying kernel                  2.6.30-02063010-generic [OK]
Trying kernel                  2.6.29-02062906-generic [OK]
Trying kernel                  2.6.28-02062810-generic [OK]
Trying kernel                    2.6.27-020627-generic [OK]
Trying kernel                    2.6.26-020626-generic [OK]
Trying kernel                    2.6.25-020625-generic [OK]
Trying kernel                    2.6.24-020624-generic [OK]

real 1m19.326s
user 1m18.740s
sys 0m22.360s

real 1m18.411s
user 1m15.330s
sys 0m21.960s

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
bin/ckmake