On 4/1/22 06:26, Raj Bakhunchhe wrote:
> Thank you so much Tom. I got the output. One more question though, I
> am not getting the outputs in order like 1,2,3,..,1,2,3..., instead I
> get like 1,2,3,...,1,3,2,.. So does this mean the tracing is done
> according to the node movement instead of regular orderly tracing?
The tracing function is called based on the order in which the scheduler
executes events. If you have events occurring at logically the same
time, the order that you see represents the order in which the scheduler
is storing those events with the same timestamp. I would think it would
be fairly consistent but there may be a subtle interaction that is
reordering them.