Grayskull Repository branch, master, updated. git-migration-316-g6c5845c
A ref change was pushed to the repository containing the project "Grayskull Repository". The branch, master has been updated via 6c5845c03ea5522270cbd1851f3fbbb6fe5c6f7c (commit) via 874d2376cfaaf9d11eb37f75d305ff63d652e231 (commit) from 7702e040e45ee363873167e70c91419efd5493e7 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 6c5845c03ea5522270cbd1851f3fbbb6fe5c6f7c Author: Phil Carns <[email protected]> Date: Thu Dec 17 17:08:46 2009 -0500 add cflags for largefile support commit 874d2376cfaaf9d11eb37f75d305ff63d652e231 Author: Phil Carns <[email protected]> Date: Thu Dec 17 16:37:05 2009 -0500 move pbranch variables to pwait with pprivate ----------------------------------------------------------------------- Summary of changes: code/src/gsl/Makefile.in | 1 + .../cosd-prototype/test/cosd-bench-concurrent.gs | 21 ++++++++++--------- 2 files changed, 12 insertions(+), 10 deletions(-) Diff of changes: diff --git a/code/src/gsl/Makefile.in b/code/src/gsl/Makefile.in index 24169b7..a94c1a7 100644 --- a/code/src/gsl/Makefile.in +++ b/code/src/gsl/Makefile.in @@ -58,6 +58,7 @@ BUILD_LDFLAGS = @BUILD_LDFLAGS@ STRICT_CFLAGS = @STRICT_CFLAGS@ CFLAGS= -I$(srcdir)/include -I. -I$(srcdir) @CFLAGS@ @CPPFLAGS@ +CFLAGS += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE CWARNS= ifneq (,$(STRICT_CFLAGS)) CWARNS += -Wcast-align -Wbad-function-cast diff --git a/code/src/gsl/resources/cosd-prototype/test/cosd-bench-concurrent.gs b/code/src/gsl/resources/cosd-prototype/test/cosd-bench-concurrent.gs index 0afa938..3e34f9c 100644 --- a/code/src/gsl/resources/cosd-prototype/test/cosd-bench-concurrent.gs +++ b/code/src/gsl/resources/cosd-prototype/test/cosd-bench-concurrent.gs @@ -78,20 +78,21 @@ static __blocking int do_cosd_test(void) pwait { - int i; + pprivate int i; + pprivate struct gs_list_link* tmp_link; + pprivate char* buffer = NULL; + pprivate uint64_t b_version; + pprivate struct bench_op* tmp_op; + pprivate int b_ret; + /* TODO: make buffer size configurable, and check that + * nothing in workload desc is bigger than this + */ + pprivate int64_t buffer_size = 4*1024*1024; + for(i=0; i<concurrent; i++) { pbranch { - struct gs_list_link* tmp_link; - char* buffer = NULL; - uint64_t b_version; - struct bench_op* tmp_op; - int b_ret; - /* TODO: make buffer size configurable, and check that - * nothing in workload desc is bigger than this - */ - int64_t buffer_size = 4*1024*1024; buffer = malloc(buffer_size); assert(buffer); hooks/post-receive -- Grayskull Repository
participants (1)
-
noreply@mcs.anl.gov