real-time measurement