def getEraseProgramWeight(self):
        return self.erase_weight + self.program_weight + \
            float(len(self.data)) / float(DATA_TRANSFER_B_PER_S)
Get time to erase and program a page including data transfer time
dataset/ETHPy150Open mbedmicro/pyOCD/pyOCD/flash/flash_builder.py/flash_page.getEraseProgramWeight