MCPcopy Create free account
hub / github.com/ARM-software/AVH / flush

Method flush

interface/sensor/python/vsi_sensor.py:51–63  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

49
50 # Flush variables
51 def flush(self):
52 logger.info("Flush Record Data")
53 self.data_buff = bytearray()
54 self.timestamp = []
55 self.data_size = []
56 self.interval = 0
57 self.window = 0
58 self.cnt = 0
59 self.cnt_old = 0
60 self.elapsed_time = 0
61 self.timer_event_cnt = 0
62 self.initial_interval = 0
63 self.active_record_size = 0
64
65 # Read one Record from data file and save acquired data in corresponding buffers
66 def __getRecord(self):

Callers 1

wrCONTROLFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected