I've been struggling with this problem for a long time.
My goal is to simulate a network of CPUs, with a queue (infinite buffer) of arrival packets, waiting to be processed in the CPUs.
Each CPU has a "service duration", and after done with that packet, starts working on a new packet from the queue.
All I searched, I couldn't find any method to simulate the "service duration", (something like holding the packets in the node).
Any help is greatly appreciated!