ASE2 CARD CATALOG ENTRY

Instructions:


ASSET OVERVIEW

UNIT NAME

CPUCLOCK

VERSION
1
REVIEW CODE
C1 1.0 A
INET ADDRESS
mfeldman@seas.gwu.edu
AUTHOR
Michael B. Feldman
George Washngton University
RIGHTS
Approved for public release; distribution unlimited
COPYRIGHT
1994 Michael B. Feldman
DATE CREATED
1 June 94
DATE RELEASED
1 June 94
DATE LAST UPDATED
1 June 94
LOCATION
PAL
ENVIRONMENT
DOS
UNIX
VAX/VMS
LIMITATIONS
None
CERTIFICATION
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

CLASSIFICATION

KEYWORD
CPU Time
CPU Clock
INDEX
Feldman, Michael B.
George Washington University
GWU
DEPENDENCIES
UNIX and VAX/VMS System Calls
SEE ALSO
SHORT DESCRIPTION
A simple package to do CPU timings
TAXONOMY


Software Components
    CPU Time


FILE LISTING

FILE SPECS
Click here to enter Asset Directory/transfer Asset File(s): ../../ase02_02/comps/cpuclock
DIRECTORY DISPLAY
Follow path to see directory

ABSTRACT

CPU Clock Access

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;

REVISION HISTORY

1  1 June 94  Initial release to the PAL

RELEASE NOTICE

This prologue must be included in all copies of this software.
Restrictions on use or distribution:  NONE

DISCLAIMER

	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.

ASE CARD CATALOG ENTRY NAVIGATION

Powered by the Generic Web-Based Reuse Library (GWRL)