here is part of the paper the fortran automatic coding system by backus et al this snippet on the frequency statment and its use in a compile time monte carlo simulation of the run time to optimise the code generated quoting the fundamental unit of program is the basic block a basic block is a stretch of program which has a single entry point and a single exit point the purpose of section is to prepare for section a table of predecessors pred table which enumerates the basic blocks and lists for every basic block each of the basic blocks which can be its immediate predecessor in flow together with the absolute frequency of each such basic block link this table is obtained by an actual execution of the program in monte carlo fashion in which the outcome of conditional transfers arising out of if type statements and computed go to's is determined by a random number generator suitably weighted according to whatever frequency statements have been provided bests bob