test whole program
This commit is contained in:
@@ -197,8 +197,8 @@ pagesizes(size_t ps[MAXPAGESIZES])
|
||||
return (pscnt);
|
||||
}
|
||||
|
||||
|
||||
__attribute__ ((constructor)) void INITREGULARALLOC(void) {
|
||||
__attribute__((constructor))
|
||||
static void INITREGULARALLOC(void) {
|
||||
size_t sz;
|
||||
// Pre Allocate 400 MB
|
||||
sz = 1073741824;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
cc -O3 -g -W -Wall -Wextra -Wno-unused-parameter -shared -fPIC allocator_shared_object_file.c -o hugepage_alloc.so
|
||||
cc -g -W -Wall -Wextra -Wno-unused-parameter -fPIC -shared allocator_shared_object_file.c -o hugepage_alloc.so
|
||||
# ar rcs alloc.a alloc.o
|
||||
# cc -O3 -g -W -Wall -Wextra -Wno-unused-parameter -shared -fPIC -o alloc.so
|
||||
# cp alloc.o ../benchmarks/kmeans/
|
||||
|
||||
Reference in New Issue
Block a user