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

⟦6796cd0a5⟧ TextFile

    Length: 1840 (0x730)
    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_Lex_Mea;
with Instance;

with Calendar;
with Text_Io;

with Bench_Actions_D, Bench_Conditions_D, Bench_Facts_D;
use Bench_Actions_D, Bench_Conditions_D;

procedure Bench_Lex 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_Lex_Mea (Context_Name => "BENCH",
                           Resolution   => Context.Lex,
                           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 STRATEGIE LEX        ");
    Text_Io.Put_Line ("*********************************************");

    T1 := Calendar.Clock;
    Bench_Facts_D.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_D.Delete;

end Bench_Lex;

pragma Main;