- Timestamp:
- Jun 29, 2017, 5:13:42 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 435e75f
- Parents:
- 62423350 (diff), 1abc5ab (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- src/tests
- Files:
-
- 4 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tests/preempt_longrun/Makefile.am
r62423350 ra12d5aa 16 16 17 17 repeats=10 18 max_time=10 19 N=10ul 18 max_time=30 20 19 preempt=10_000ul 21 20 22 21 REPEAT = ${abs_top_srcdir}/tools/repeat -s 23 22 24 BUILD_FLAGS = -g -Wall -Wno-unused-function -quiet @CFA_FLAGS@ -debug -O2 -D N=${N} -DPREEMPTION_RATE=${preempt}23 BUILD_FLAGS = -g -Wall -Wno-unused-function -quiet @CFA_FLAGS@ -debug -O2 -DPREEMPTION_RATE=${preempt} 25 24 CFLAGS = ${BUILD_FLAGS} 26 25 CC = @CFA_BINDIR@/@CFA_NAME@ 27 26 28 TESTS = create stackyield27 TESTS = barge block create disjoint processor stack wait yield 29 28 30 29 .INTERMEDIATE: ${TESTS} -
src/tests/preempt_longrun/Makefile.in
r62423350 ra12d5aa 178 178 top_srcdir = @top_srcdir@ 179 179 repeats = 10 180 max_time = 10 181 N = 10ul 180 max_time = 30 182 181 preempt = 10_000ul 183 182 REPEAT = ${abs_top_srcdir}/tools/repeat -s 184 BUILD_FLAGS = -g -Wall -Wno-unused-function -quiet @CFA_FLAGS@ -debug -O2 -D N=${N} -DPREEMPTION_RATE=${preempt}185 TESTS = create stackyield183 BUILD_FLAGS = -g -Wall -Wno-unused-function -quiet @CFA_FLAGS@ -debug -O2 -DPREEMPTION_RATE=${preempt} 184 TESTS = barge block create disjoint processor stack wait yield 186 185 all: all-am 187 186 -
src/tests/sched-int-block.c
r62423350 ra12d5aa 5 5 #include <thread> 6 6 7 static const unsigned N = 100_000; 7 #ifndef N 8 #define N 100_000 9 #endif 8 10 9 11 enum state_t { WAITED, SIGNAL, BARGE }; -
src/tests/sched-int-disjoint.c
r62423350 ra12d5aa 4 4 #include <thread> 5 5 6 #ifndef N 6 7 #define N 100_000 8 #endif 7 9 8 10 enum state_t { WAIT, SIGNAL, BARGE }; -
src/tests/sched-int-wait.c
r62423350 ra12d5aa 5 5 #include <thread> 6 6 7 static const int N = 10_000; 7 #ifndef N 8 #define N 10_000 9 #endif 8 10 9 11 monitor global_t {};
Note: See TracChangeset
for help on using the changeset viewer.