Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 360669
b: refs/heads/master
c: 1bea5b8
h: refs/heads/master
i:
  360667: f5396be
v: v3
  • Loading branch information
James Hogan committed Mar 2, 2013
1 parent 0902553 commit 89b1cbd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 883a635591ef25bc6a325f8a43af17ec8ecfe011
refs/heads/master: 1bea5b8188e98611e4d6961647809f87b023e14c
6 changes: 6 additions & 0 deletions trunk/tools/perf/perf.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,12 @@ void get_term_dimensions(struct winsize *ws);
#define CPUINFO_PROC "cpu model"
#endif

#ifdef __metag__
#define rmb() asm volatile("" ::: "memory")
#define cpu_relax() asm volatile("" ::: "memory")
#define CPUINFO_PROC "CPU"
#endif

#include <time.h>
#include <unistd.h>
#include <sys/types.h>
Expand Down

0 comments on commit 89b1cbd

Please sign in to comment.