Index: stressapptest-svn-r38/src/os.h
===================================================================
--- stressapptest-svn-r38.orig/src/os.h	2013-11-18 17:37:10.000000000 +0100
+++ stressapptest-svn-r38/src/os.h	2013-11-18 19:39:29.000000000 +0100
@@ -17,6 +17,7 @@
 #define STRESSAPPTEST_OS_H_
 
 #include <dirent.h>
+#include <unistd.h>
 #include <sys/syscall.h>
 
 #include <string>
@@ -267,8 +268,10 @@
     __asm __volatile("rdtsc" : "=a" (data.l32.l), "=d"(data.l32.h));
     tsc = data.l64;
 #elif defined(STRESSAPPTEST_CPU_ARMV7A)
-  #warning "Unsupported CPU type ARMV7A: your build may not function correctly"
-    tsc = 0;
+  #warning "Unsupported CPU type ARMV7A: your build may not function correctly (no direct timestamp)"
+    timespec ts;
+    clock_gettime(CLOCK_MONOTONIC_RAW, &ts);
+    tsc = (uint64)ts.tv_nsec + ((uint64)ts.tv_sec * 1000000000ull);
 #else
   #warning "Unsupported CPU type: your build may not function correctly"
     tsc = 0;
