core/builtins/time.cif
changeset 0 7f656887cf89
equal deleted inserted replaced
-1:000000000000 0:7f656887cf89
       
     1 # time.cif
       
     2 # 
       
     3 # Copyright (c) 2010 Accenture. All rights reserved.
       
     4 # This component and the accompanying materials are made available
       
     5 # under the terms of the "Eclipse Public License v1.0"
       
     6 # which accompanies this distribution, and is available
       
     7 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 # 
       
     9 # Initial Contributors:
       
    10 # Accenture - Initial contribution
       
    11 #
       
    12 
       
    13 ==name time
       
    14 
       
    15 ==short-description
       
    16 
       
    17 Report how long it takes to execute a command.
       
    18 
       
    19 ==argument string command last
       
    20 
       
    21 The command to run.
       
    22 
       
    23 ==option bool H human
       
    24 
       
    25 Print the execution time in human readable form.
       
    26 
       
    27 ==option bool f fast-counter
       
    28 
       
    29 Use the kernel's fast counter rather than the nano-kernel tick. Note, if available, the fast counter normally has significantly higher resolution.
       
    30 
       
    31 ==option int r repeat
       
    32 
       
    33 If specified, call the command this number of times and print out the average time taken.
       
    34 
       
    35 ==see-also
       
    36 
       
    37 L<start|start>
       
    38 
       
    39 ==copyright
       
    40 
       
    41 Copyright (c) 2006-2010 Accenture. All rights reserved.
       
    42