projects
/
c11tester.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a330e8d
)
missing change
author
Brian Demsky
<bdemsky@uci.edu>
Wed, 3 Oct 2012 10:03:02 +0000
(
03:03
-0700)
committer
Brian Demsky
<bdemsky@uci.edu>
Wed, 3 Oct 2012 10:03:02 +0000
(
03:03
-0700)
common.mk
patch
|
blob
|
history
mymemory.cc
patch
|
blob
|
history
diff --git
a/common.mk
b/common.mk
index
009ae63
..
9fe9f09
100644
(file)
--- a/
common.mk
+++ b/
common.mk
@@
-8,7
+8,7
@@
UNAME = $(shell uname)
LIB_NAME = model
LIB_SO = lib$(LIB_NAME).so
-CPPFLAGS += -Wall -g -O
0
+CPPFLAGS += -Wall -g -O
3
# Mac OSX options
ifeq ($(UNAME), Darwin)
diff --git
a/mymemory.cc
b/mymemory.cc
index
6caf27a
..
6fd7c70
100644
(file)
--- a/
mymemory.cc
+++ b/
mymemory.cc
@@
-5,6
+5,7
@@
#include <dlfcn.h>
#include <unistd.h>
#include <cstring>
+#include "common.h"
#define REQUESTS_BEFORE_ALLOC 1024
size_t allocatedReqs[ REQUESTS_BEFORE_ALLOC ] = { 0 };
int nextRequest = 0;