Shell Commands/Time

From MorphOS Library

Revision as of 13:48, 29 June 2026 by JPV (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

< Shell Commands

Time - Measures the time it takes to execute a command

CALIBRATE/S,EXCLUDELOADING/S,COMMAND/A/F

CALIBRATE      - Runs 10 times to calculate overhead. Depending on the mode
                 this is used to remove the overhead from the equation.
EXCLUDELOADING - Tests the pure command speed without loading times to avoid
                 disk caches affecting the results.
COMMAND        - A command line to test.


Example:

System:> time dir ram:
     ENV (dir)
     T (dir)
     Clipboards (dir)

Time Elapsed: 0.0071s