Update MIPS Benchmark

This commit is contained in:
Alauddin Maulana Hirzan 2024-06-19 05:19:51 +07:00
parent 0d1629e850
commit e857bc6745
Signed by: maulanahirzan
GPG key ID: 484DAC952787FA13

View file

@ -29,12 +29,11 @@ class MIPSBenchmark:
def run(self):
print("# MIPS CPU Benchmark #")
print("# Running 7 Basic ALU Ops #")
print("# Please Wait #")
self.start_time = time()
for i in range(1, self.iters+1):
print(f"=> Running Iteration #{str(i)}", end="\r")
self.ips_operation()
print("\n")
self.end_time = time()
self.calculate()