How to profile/log DataLoader queue usage


I wonder what is minimal number of DataLoader workers that can feed a queue fast enough, but I couldn’t find a way to log/profile/visualise usage of the queue (how many training examples is in the queue currently). Does any one know how to do this? In TensorFlow I remember I could see queue usage in the TensorBoard.