async def METHOD_NAME(self):
    await self.shutdown_task_manager()
    # Fill in the gaps with 0's
    max_time = max(result[0] for result in self.results)
    index = 0
    while index < len(self.results):
        curr = self.results[index]
        _next = self.results[index + 1] if index + 1 < len(self.results) else None
        if not _next or curr[2] != _next[2]:
            self.results[index + 1:index + 1] = [(t + curr[0] + 1, curr[1], curr[2], 0)
                                                 for t in range(max_time - curr[0])]
            index += max_time - curr[0]
        index += 1
    with open(self.output_file, 'w') as f:
        f.write("Time Circuit Type Speed\n")
        for result in self.results:
            f.write(' '.join(map(str, result)) + '\n')