Changeset af58ee0
- Timestamp:
- Sep 26, 2017, 5:15:13 PM (8 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:
- 74bba15
- Parents:
- 8d722cc
- Location:
- src/benchmark
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/benchmark/Makefile.am ¶
r8d722cc raf58ee0 48 48 @rm -f a.out .result.log 49 49 50 ctxswitch-pthread$(EXEEXT): 51 @BACKEND_CC@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} -lrt -pthread -DN=50000000 PthrdCtxSwitch.c 52 @rm -f .result.log 53 @for number in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20; do \ 54 ./a.out | tee -a .result.log ; \ 55 done 56 @./stat.py .result.log 57 @rm -f a.out .result.log 58 50 59 sched-int$(EXEEXT): 51 60 ${CC} ${AM_CFLAGS} ${CFLAGS} ${ccflags} @CFA_FLAGS@ -nodebug -lrt -DN=50000000 SchedInt.c -
TabularUnified src/benchmark/Makefile.in ¶
r8d722cc raf58ee0 598 598 @rm -f a.out .result.log 599 599 600 ctxswitch-pthread$(EXEEXT): 601 @BACKEND_CC@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} -lrt -pthread -DN=50000000 PthrdCtxSwitch.c 602 @rm -f .result.log 603 @for number in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20; do \ 604 ./a.out | tee -a .result.log ; \ 605 done 606 @./stat.py .result.log 607 @rm -f a.out .result.log 608 600 609 sched-int$(EXEEXT): 601 610 ${CC} ${AM_CFLAGS} ${CFLAGS} ${ccflags} @CFA_FLAGS@ -nodebug -lrt -DN=50000000 SchedInt.c -
TabularUnified src/benchmark/bench.h ¶
r8d722cc raf58ee0 1 1 #pragma once 2 2 3 #ifdef __CFORALL__ 3 4 extern "C" { 5 #endif 4 6 #include <unistd.h> // sysconf 5 7 #include <sys/times.h> // times 6 8 #include <time.h> 9 #ifdef __CFORALL__ 7 10 } 11 #endif 8 12 9 13 inline unsigned long long int Time() { 10 timespec ts;14 struct timespec ts; 11 15 clock_gettime( 12 16 #if defined( __linux__ ) -
TabularUnified src/benchmark/create_cfaThrd.c ¶
r8d722cc raf58ee0 4 4 5 5 thread MyThread {}; 6 void main(MyThread *this) {}6 void main(MyThread & this) {} 7 7 8 8 int main(int argc, char* argv[]) {
Note: See TracChangeset
for help on using the changeset viewer.