Implement spend_cpu_cycles in assembly
The compiler was unrolling it previously, so we're doing assembly now for consistency.
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
#include "../src/cpu_work.hpp"
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
int iterations = DEFAULT_HEALTH_CHECK_ITERATIONS; // Default: 7000
|
||||
int iterations = DEFAULT_HEALTH_CHECK_ITERATIONS;
|
||||
|
||||
if (argc > 1) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user