summaryrefslogtreecommitdiff
path: root/esds/plugins
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2022-09-07 13:23:41 +0200
committerLoic Guegan <manzerbredes@mailbox.org>2022-09-07 13:23:41 +0200
commit057cb9c3ff6194ebd7d934cef0337ac0c44ecf19 (patch)
tree5b37ad4f61834471d5c4c37dfa82a9aa9288ee48 /esds/plugins
parent2fb979cfec7eba0c4168f7728045426396d2b8f0 (diff)
Debug plugins
Diffstat (limited to 'esds/plugins')
-rw-r--r--esds/plugins/node_plugin.py2
-rw-r--r--esds/plugins/power_states.py3
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))