def init(self, id, extime, instcnt, rep, dval, pcs): code_block.__init__(self) # Deadline value specified by the user. self.block_type = "DEAD" self.id = id self.execution_time = 0 self.instruction_count = instcnt self.repetition = rep self.deadline_value = dval self.wc_execution_time = extime self.pcs = pcs # Data read. self.data_read_addresses = dict() self.data_write_addresses = dict()
def __init__(self): code_block.__init__(self) # Deadline value specified by the user. self.block_type = "DEAD" self.id = 0 self.execution_time = 0 self.instruction_count = 0 self.repetition = 0 self.deadline_value = 0 self.wc_execution_time = 0 self.pcs = 0 # Data read. self.data_read_addresses = dict() self.data_write_addresses = dict()
def __init__(self): code_block.__init__(self) self.block_type = "ALLDATA" self.id = 0 self.read_addresses = dict() self.write_addresses = dict()
def __init__(self): code_block.__init__(self) self.block_type = "ALLINST" self.id = 0 self.instructions = dict()