Short: Shell command for timing other commands Author: Torsten Poulin Uploader: aGGreSSor/CPU (amitrans narod ru) Type: util/time Version: 40.4 Requires: ABIv0; i386; InstallerLG Architecture: i386-aros Distribution: Aminet ============================== F E A T U R E S ============================== The TimeIt command starts the specified program and after it finishes the elapsed time is reported. ============================ R E Q U I R E M E N T ========================== TimeIt tested and worked fine on the following configurations: - IcarOS i386 (Kickstart 51.51, Workbench 40.0, AROS ABIv0) - AROS One i386 (Kickstart 51.51, Workbench 40.0, AROS ABIv0) ================================= U S A G E ================================= TimeIt is used to time a command. Format: TimeIt [[APPEND] TO logfile] [S|SECONDS] [COMMAND] program Template: APPEND/S,TO/K,S=SECONDS/S,COMMAND/F/A The SECONDS, or S, switch makes TimeIt report the elapsed time in seconds only, instead of days, hours, minutes and seconds. The time is displayed on CONSOLE: unless the TO option is used to specify an output file. The APPEND switch adds the output to the end of the specified output file. For example: 1.AROS:> timeit S COMMAND C:Wait 4 Elapsed: 4.00s 1.AROS:> timeit TO RAM:Wait.log S COMMAND C:Wait 2 1.AROS:> more RAM:Wait.log Elapsed: 2.01s Command C:Wait 2 ================================ S O U R C E ================================ Binary, source code, and documentation included. Under 2-clause BSD License. AROS cross-compilation by ______ ______ ______ ______ ______|:: .__|:: .__|_____ ______|:: ___|:: ___|______ _____ |: , |: | |: | |: ,_|: ,__|:___ |:___ |: - |: ,_| |__|___|______|______|___| _____|______|______|______|___| home cross-compilation factory