next up previous 372
Next: EXERCISE Exercise Noticeboard Routines
Up: Demonstration Programs
Previous: NBTRACE Trace Noticeboard Contents

TIME -- Time Noticeboard Operations

TIME times various noticeboard operations. It produced the timings listed in Section 6.

The user chooses how many items the noticeboard should contain, which item should be used for timing NBS_FIND_ITEM, how many iterations to perform and the values of the INCREMENT_MODIFY and CHECK_MODIFY flags. The program produces a report in TIME.LIS. For example:

    Noticeboard system timing program at Thu Mar 31 17:49:00 1988
    -------------------------------------------------------------

    Number of iterations   = 10000
    Number of items        = 100
    Item used for searches = 100
    Increment modify flag  = 1
    Check modify flag      = 1

    Test 0, define, save and find noticeboard
            cpu microseconds = 2330000

    Test 1, scalar assignment
            cpu microseconds per iteration = 3

    Test 2, put scalar
            cpu microseconds per iteration = 124

    Test 3, get scalar
            cpu microseconds per iteration = 90
    .
    .



next up previous 372
Next: EXERCISE Exercise Noticeboard Routines
Up: Demonstration Programs
Previous: NBTRACE Trace Noticeboard Contents

NBS The Noticeboard System
Starlink User Note 77
D.J. Allan
11 September 1995
E-mail:ussc@star.rl.ac.uk