Real-time temperature measurement in stochastic rotation dynamics.