|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - download
Length: 3072 (0xc00) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Chrono, seg_00e3cf
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─ ⟦5a81ac88f⟧ »Space Info Vol 1« └─⟦this⟧
with Calendar; with Text_Io; with Expertsystem; use Calendar; use Expertsystem; package body Chrono is package Datio is new Text_Io.Fixed_Io (Duration); Taille : Natural := 50; type Ligne is record Nom : Natural; Info : Natural; Debut : Time; Fin : Time; end record; Times : array (1 .. Taille) of Ligne; Index : Natural range 1 .. Taille := 1; procedure Reset is begin Index := 1; end Reset; procedure Start (Nom : Natural) is begin Times (Index).Nom := Nom; Times (Index).Debut := Calendar.Clock; end Start; procedure Stop (Info : Natural) is begin Times (Index).Info := Info; Times (Index).Fin := Calendar.Clock; end Stop; --\x09procedure pause; --\x09procedure continue; procedure Next (Info : Natural) is begin Times (Index).Info := Info; Index := Index + 1; end Next; procedure Display is begin Expertsystem.Put_Line ("Chronometrages : "); for I in 1 .. Index - 1 loop Expertsystem.Put (I); Expertsystem.Put (Times (I).Nom); Expertsystem.Put (Times (I).Info); Datio.Put (Times (I).Fin - Times (I).Debut); Expertsystem.Put_Line (" "); end loop; end Display; end Chrono;
nblk1=2 nid=0 hdr6=4 [0x00] rec0=2b rec1=00 rec2=01 rec3=00a [0x01] rec0=0f rec1=00 rec2=02 rec3=000 tail 0x2150a018a821e40c62009 0x42a00088462063c03