Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 360168
b: refs/heads/master
c: 9854783
h: refs/heads/master
v: v3
  • Loading branch information
Vineet Gupta committed Feb 15, 2013
1 parent e6ba6d8 commit 9f367b7
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: 7fadc1e8fe89698caac213ff6d631b811fc7b393
refs/heads/master: 9854783e55d5f42a0ea3e951fad3a5910023c1b1
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 __arc__
#define rmb() asm volatile("" ::: "memory")
#define cpu_relax() rmb()
#define CPUINFO_PROC "Processor"
#endif

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

0 comments on commit 9f367b7

Please sign in to comment.