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:
1 parent
ffe7ab0a3e
commit
0357a41dd8
10 files changed
+84
-28
No files matched your search
@@ -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