A Reference Architecture for Real-Time Performance Measurement