mirror of
https://github.com/TomHarte/CLK.git
synced 2025-08-13 00:25:26 +00:00
Reinstated manual-by-stealth secondary usage of the Zexall test as a benchmarking tool.
This commit is contained in:
@@ -51,7 +51,7 @@ class ZexallTests: XCTestCase, CSTestMachineTrapHandler {
|
|||||||
machine.runForNumber(ofCycles: cyclesPerIteration)
|
machine.runForNumber(ofCycles: cyclesPerIteration)
|
||||||
cyclesToDate += TimeInterval(cyclesPerIteration)
|
cyclesToDate += TimeInterval(cyclesPerIteration)
|
||||||
if printDate.timeIntervalSinceNow < -5.0 {
|
if printDate.timeIntervalSinceNow < -5.0 {
|
||||||
// print("\(cyclesToDate / -startDate.timeIntervalSinceNow) Mhz")
|
print("\(cyclesToDate / -startDate.timeIntervalSinceNow) Mhz")
|
||||||
printDate = Date()
|
printDate = Date()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user