Allow ev_qs to not have INDIR throttling (XCC)
[akaros.git] / tests / msr_cycling_vcores.c
index 7debb6e..9ea144f 100644 (file)
@@ -6,10 +6,15 @@
 
 #include <ros/resource.h>
 #include <parlib.h>
-#include <rstdio.h>
+#include <stdio.h>
 #include <vcore.h>
 #include <timing.h>
 #include <mcs.h>
+#include <uthread.h>
+
+#ifdef __sparc_v8__
+# define udelay(x) udelay((x)/2000)
+#endif
 
 mcs_barrier_t b;
 uint64_t begin = 0, end = 0;