measure ping for all messages that have ts