how to create buffer for elapsed time ??

i want to know all 50 times each when communication is done for 50 iteration