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 - metrics - download
Index: B T

⟦3f3abeca6⟧ TextFile

    Length: 1112 (0x458)
    Types: TextFile
    Names: »B«

Derivation

└─⟦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⟧ 

TextFile

with Instrument;
use Instrument;
procedure Nl07a2 is

    X : Integer := 1;

    Count : Integer := 0;

    Descending : Boolean := Ident_Bool (True);

    package Pr is new Procs (Integer);
    use Pr;

begin
    Start ("NL07A2", "Overhead for 7 Nested Loops (test)");

    for I in 1 .. 10000 loop

        Let (Global, Ident (Init));

        for I in X .. Ident_Int (1) loop
            while Descending loop
                loop
                    exit when not Descending;

                    for I in X .. Ident_Int (1) loop
                        while Descending loop
                            loop
                                exit when not Descending;

                                for I in X .. Ident_Int (1) loop

                                    Count := Count + 1;
                                    Descending := Ident_Bool (False);

                                end loop;
                            end loop;
                        end loop;
                    end loop;
                end loop;
            end loop;
        end loop;

    end loop;
    Stop;

end Nl07a2;