Changeset 74e58ea3
- Timestamp:
- Jun 23, 2017, 4:22:53 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:
- 6ce3ae9, f7b9faf
- Parents:
- 376ccadc (diff), 4c03e63 (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. - Files:
-
- 4 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tests/preempt_longrun/Makefile.am
r376ccadc r74e58ea3 26 26 CC = @CFA_BINDIR@/@CFA_NAME@ 27 27 28 TESTS = create stackyield28 TESTS = barge block create disjoint processor stack wait yield 29 29 30 30 .INTERMEDIATE: ${TESTS} -
src/tests/preempt_longrun/Makefile.in
r376ccadc r74e58ea3 183 183 REPEAT = ${abs_top_srcdir}/tools/repeat -s 184 184 BUILD_FLAGS = -g -Wall -Wno-unused-function -quiet @CFA_FLAGS@ -debug -O2 -DN=${N} -DPREEMPTION_RATE=${preempt} 185 TESTS = create stackyield185 TESTS = barge block create disjoint processor stack wait yield 186 186 all: all-am 187 187 -
src/tests/sched-int-block.c
r376ccadc r74e58ea3 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
r376ccadc r74e58ea3 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
r376ccadc r74e58ea3 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 {}; -
tools/repeat
r376ccadc r74e58ea3 20 20 for (( i = 0; i < ITERATION; i ++ )); do 21 21 echo -ne "\r$i / $ITERATION" 22 $@ &22 $@ > /dev/null & 23 23 child=$! 24 24 wait "$child"
Note: See TracChangeset
for help on using the changeset viewer.