diff options
Diffstat (limited to 'nacl/cpucycles/ia64cpuinfo.c')
-rw-r--r-- | nacl/cpucycles/ia64cpuinfo.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/nacl/cpucycles/ia64cpuinfo.c b/nacl/cpucycles/ia64cpuinfo.c deleted file mode 100644 index 580c6cee..00000000 --- a/nacl/cpucycles/ia64cpuinfo.c +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | #include <stdio.h> | ||
2 | #include <sys/types.h> | ||
3 | #include "osfreq.c" | ||
4 | |||
5 | long long cpucycles_ia64cpuinfo(void) | ||
6 | { | ||
7 | long long result; | ||
8 | asm volatile("mov %0=ar.itc" : "=r"(result)); | ||
9 | return result; | ||
10 | } | ||
11 | |||
12 | long long cpucycles_ia64cpuinfo_persecond(void) | ||
13 | { | ||
14 | return osfreq(); | ||
15 | } | ||