|
|
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 - metrics - download
Length: 3072 (0xc00)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Bench_First, seg_011ed8
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦cfc2e13cd⟧ »Space Info Vol 2«
└─⟦this⟧
with Context;
with Engine_First;
with Instance;
with Calendar;
with Text_Io;
with Bench_Actions, Bench_Conditions, Bench_Facts;
use Bench_Actions, Bench_Conditions;
procedure Bench_First is
package Fio is new Text_Io.Fixed_Io (Num => Duration);
Result : Boolean;
T1, T2 : Calendar.Time;
S : Duration;
package Search_Bench is
new Engine_First (Context_Name => "BENCH",
Resolution => Context.First,
Used_Rules => 4,
Name_1 => "Creation des objets",
Condition_1 => Creation_Objets_Condition,
Action_1 => Creation_Objets_Action,
Name_2 => "Fin de creation",
Condition_2 => Fin_Creation_Condition,
Action_2 => Fin_Creation_Action,
Name_3 => "Recherche d'un objet", Condition_3 => Recherche_Objet_Condition,
Action_3 => Recherche_Objet_Action,
Name_4 => "Iteration",
Condition_4 => Iteration_Condition,
Action_4 => Iteration_Action);
begin
Text_Io.Put_Line ("*********************************************");
Text_Io.Put_Line (" TEST DE PERFORMANCE ");
Text_Io.Put_Line ("*********************************************");
T1 := Calendar.Clock;
Bench_Facts.Create;
Result := Search_Bench.Inference (Instance.Any);
T2 := Calendar.Clock;
S := Calendar."-" (T2, T1);
Text_Io.Put ("FIN DU TEST : temps passe (en secondes) = ");
Fio.Put (S);
Bench_Facts.Delete;
end Bench_First;
pragma Main;
nblk1=2
nid=0
hdr6=4
[0x00] rec0=1f rec1=00 rec2=01 rec3=002
[0x01] rec0=19 rec1=00 rec2=02 rec3=000
tail 0x2170df2de82466ebd87d5 0x42a00088462063c03