Update MIPS Benchmark
This commit is contained in:
parent
0d1629e850
commit
e857bc6745
1 changed files with 2 additions and 3 deletions
|
@ -29,12 +29,11 @@ class MIPSBenchmark:
|
||||||
def run(self):
|
def run(self):
|
||||||
print("# MIPS CPU Benchmark #")
|
print("# MIPS CPU Benchmark #")
|
||||||
print("# Running 7 Basic ALU Ops #")
|
print("# Running 7 Basic ALU Ops #")
|
||||||
|
print("# Please Wait #")
|
||||||
|
|
||||||
self.start_time = time()
|
self.start_time = time()
|
||||||
for i in range(1, self.iters+1):
|
for i in range(1, self.iters+1):
|
||||||
print(f"=> Running Iteration #{str(i)}", end="\r")
|
|
||||||
self.ips_operation()
|
self.ips_operation()
|
||||||
print("\n")
|
|
||||||
self.end_time = time()
|
self.end_time = time()
|
||||||
|
|
||||||
self.calculate()
|
self.calculate()
|
||||||
|
|
Loading…
Reference in a new issue