OS4 DepotLogo by Alkaron 
(anonymous IP: 3.144.244.244,0) 
 HomeRecentStatsSearchMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (602)
   o Document (24)
   o Driver (97)
   o Emulation (149)
   o Game (1011)
   o Graphics (500)
   o Library (118)
   o Network (234)
   o Office (66)
   o Utility (932)
   o Video (69)

Total files: 4399

Full index file
Recent index file

 Links

  Amigans.net
  OpenAmiga
  Aminet
  UtilityBase
  IntuitionBase
  AmigaBounty


Support the site


 Readme for:  Utility » Shell » timer.lha

Timer

Description: Time how long it takes to execute a command
Download: timer.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 26kb
Version: 1.2
Date: 05 Aug 06
Author: Alex Carmona
Submitter: Alex Carmona
Email: AmigaOne/TheWorld net
Homepage: http://AM1GA.com
Category: utility/shell
License: Freeware
Distribute: yes
Min OS Version: 4.0
FileID: 1959
 
Comments: 0
Snapshots: 0
Videos: 0
Downloads: 22  (Current version)
22  (Accumulated)

[Show comments] [Show snapshots] [Show videos] [Show content] [Show crashlogs] 
Timer is a shell command to time how long it takes to execute a command.

After the command returns, it prints the time spent by the command with a
precision up to 100 microsecond (0.0001s).

It could have measured the time down to 1 microsecond but even on a freshly
booted system the many interrupts taking place all the time may cause delays
resulting in fluctuations that make higher precision meaningless.

To keep the accuracy as high as possible, Timer first makes one test run
to find out how long it takes on your machine and then substracts that value
from the result.
The method is to simple to compensate for busy-looping applications running
in the background but it should serve its purpose on very slow hardware.


Usage:

Timer <Command>


Example:

1.RAM:> Timer/Timer Copy Timer/Timer#? RAM:Timer2 CLONE
   RAM:Timer2   [created]
   Timer_newlib..copied.
   Timer..copied.
   Timer.c..copied.
Command duration: 0.0083 sec.
1.RAM:> 



Copyright (c) 2004-2024 by Björn Hagström All Rights Reserved
Amiga OS and its logos are registered trademarks of Hyperion Entertainment