1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-01-11 08:30:55 +00:00

Reinstated manual-by-stealth secondary usage of the Zexall test as a benchmarking tool.

This commit is contained in:
Thomas Harte 2017-06-04 15:46:35 -04:00
parent 18faebc93c
commit 2190f60a89

View File

@ -51,7 +51,7 @@ class ZexallTests: XCTestCase, CSTestMachineTrapHandler {
machine.runForNumber(ofCycles: cyclesPerIteration)
cyclesToDate += TimeInterval(cyclesPerIteration)
if printDate.timeIntervalSinceNow < -5.0 {
// print("\(cyclesToDate / -startDate.timeIntervalSinceNow) Mhz")
print("\(cyclesToDate / -startDate.timeIntervalSinceNow) Mhz")
printDate = Date()
}
}