Queue time measuring

Renaming of some methods