ASE2 CARD CATALOG ENTRY |
Instructions:
Ada System Certifier_1 1.0 Date/Time of Processing: Sunday 05 June 1994 12:32:27Pm Overall Assessment of System: OK Classification of System: A Basis of Classification -- Syntax Errors PASS Completeness PASS Independence from External Libraries PASS Independence from a Specific Ada Compiler PASS Number of ... Files 5 Library Units 5 Lines 193 Statements 66 Comments 50
PACKAGE CPUClock IS -- simple package to do CPU timings. This package interface is pure -- Ada; bodies exist for DOS, VMS (using Fortran "glue") and Unix -- (using C "glue"). -- Michael B. Feldman, The George Washington University, Washington, DC. TYPE CPUSecond IS DIGITS 6; -- the type is a float type for convenience; -- all float operations are available PROCEDURE ResetCPUTime; -- pre: none -- post: resets the CPU timer, using whatever system call applies FUNCTION CPUTime RETURN CPUSecond; -- pre: none -- post: returns the number of CPUSeconds since the last Reset PROCEDURE Put (Item : CPUSecond); -- pre: Item is defined -- post: displays a CPUSecond value as an ordinary decimal number END CPUClock;
1 1 June 94 Initial release to the PAL
This prologue must be included in all copies of this software. Restrictions on use or distribution: NONE
This software and its documentation are provided "AS IS" and without any expressed or implied warranties whatsoever. No warranties as to performance, merchantability, or fitness for a particular purpose exist. The user is advised to test the software thoroughly before relying on it. The user must assume the entire risk and liability of using this software. In no event shall any person or organization of people be held responsible for any direct, indirect, consequential or inconsequential damages or lost profits.
Powered by the Generic Web-Based Reuse Library (GWRL)