diff --git a/socs/agents/hwp_pid/agent.py b/socs/agents/hwp_pid/agent.py index b4f49777b..2c530f352 100644 --- a/socs/agents/hwp_pid/agent.py +++ b/socs/agents/hwp_pid/agent.py @@ -170,7 +170,10 @@ def get_freq(self, session, params): return False, 'Could not acquire lock' freq = self.pid.get_freq() - session.data = {'freq': freq} + session.data = { + 'freq': freq, + 'timestamp': time.time(), + } return True, 'Current frequency = {}'.format(freq)