diff options
Diffstat (limited to 'esds/plugins')
| -rw-r--r-- | esds/plugins/node_plugin.py | 2 | ||||
| -rw-r--r-- | esds/plugins/power_states.py | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/esds/plugins/node_plugin.py b/esds/plugins/node_plugin.py index 5972c95..1b62d60 100644 --- a/esds/plugins/node_plugin.py +++ b/esds/plugins/node_plugin.py @@ -24,7 +24,7 @@ class NodePlugin: def on_terminated(self): pass - def on_communication_end(self,interface,data,start_at,end_at,aborted_at): + def on_communication_end(self,time,com_event): pass def log(self,msg): diff --git a/esds/plugins/power_states.py b/esds/plugins/power_states.py index 880c2d1..f430217 100644 --- a/esds/plugins/power_states.py +++ b/esds/plugins/power_states.py @@ -122,6 +122,9 @@ class PowerStatesComms(NodePlugin): def on_send_call(self,interface,data,datasize,dst): self.tx_clock=self.api.read("clock") + def on_communication_end(self,time,com_event): + pass + def on_send_return(self,interface,data,datasize,dst,code): clock=self.api.read("clock") duration=(clock-float(self.tx_clock)) |
