DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 Tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400 Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ B T

⟦b5fe10983⟧ TextFile

    Length: 1787 (0x6fb)
    Types: TextFile
    Names: »B«

Derivation

└─⟦149519bd4⟧ Bits:30000546 8mm tape, Rational 1000, !projects 93-07-13
    └─ ⟦124ff5788⟧ »DATA« 
        └─⟦this⟧ 
└─⟦f64eaa120⟧ Bits:30000752 8mm tape, Rational 1000, !projects 93 02 16
    └─ ⟦6f12a12be⟧ »DATA« 
        └─⟦this⟧ 

TextFile

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;