./random-walk.pl -benchmark -dimensions=1 -steps=4 -iterate -show_coords_freq -show_directions -show_distances -show_stepped_ons Starting Random Walk at 2015_10_06_17:30:46.673 Parameters are 1 dimensions (which has 2 directions) and 4 steps ... Running 16 iterations - this can take a while ... Frequency Stepped Ons 4 1-1-2-1 4 1-1-1-1 4 1-1-2-2 4 1-1-1-2 16 Total Routes 10 Returned to orgin which is 62% Frequency Coordinate 14 (1) 14 (0) 14 (-1) 8 (2) 8 (-2) 2 (3) 2 (-3) 1 (-4) 1 (4) Direction Frequency 1 32 2 32 Distance Frequency Cumulative 0 14 10% 1 42 50% 2 58 90% 3 62 4 64 100% For Random Walk of 1 dimensions and 4 steps, distance at which N percent of coordinates are contained 0 10% 1 50% 2 90% 4 100% Timing Data dumped at 2015_10_06_17:30:46.673 000_start : 0.000 wallclock secs ( 0.00 usr + 0.00 sys = 0.00 CPU) 101_end_of_program : 0.000 wallclock secs ( 0.00 usr + 0.00 sys = 0.00 CPU) 999_end : 0.000 wallclock secs ( 0.00 usr + 0.00 sys = 0.00 CPU)