Time resolved measurements of the electron energy distribution in unstable plasma I. Measurement technique