Instead of calculating the size of the queue, I would like to identify the different objects in each queue in order to multiply them with their average processing time and then obtain the time in queue.
I tried to identify the different object in the queue by using the queue.get(index) function but I can't determine what this function returns. I would like to know from which source come the entities in the queue.
For example, I called the entities from source 1 =1 , but if I do queue.get(0)==1?0.2 :0.3 it does not work.Do you have any idea that could help me?
Thanks in advance,