|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 Tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T V
Length: 1694 (0x69e)
Types: TextFile
Names: »V«
└─⟦180fe333a⟧ Bits:30000405 8mm tape, Rational 1000, SW CATALOG, 10_20_0
└─⟦180fe333a⟧ Bits:30000537 8mm tape, Rational 1000, SW Catalog 10_20_0
└─⟦5cb1d1d7f⟧ »DATA«
└─⟦3b1ee7bd8⟧
└─⟦this⟧
--
-- COUNT_STATISTICS by Richard Conn, TI Ada Technology Branch
-- 27 Feb 85
--
generic
type Statistic is (<>);
package Count_Statistics is
--------------------------------------------------------------------------
-- Abstract : COUNT_STATISTICS maintains counters which may be used
-- to keep track of the frequency of certain error
-- conditions, as enumerated in the type STATISTIC. To
-- use this package, the routine INITIALIZE_COUNTERS will
-- clear all counters, the routine INCREMENT_COUNTER will
-- increment the indicated counter, and the routine
-- COUNT will return the value of the indicated counter.
--
--------------------------------------------------------------------------
procedure Initialize_Counters;
--------------------------------------------------------------------------
-- Abstract : This routine sets the values of all counters to zero.
--------------------------------------------------------------------------
procedure Increment_Counter (Counter : Statistic);
--------------------------------------------------------------------------
-- Abstract : This routine increments the indicated counter.
--------------------------------------------------------------------------
function Count (Counter : Statistic) return Natural;
--------------------------------------------------------------------------
-- Abstract : This routine returns the value of the indicated counter.
--------------------------------------------------------------------------
end Count_Statistics;