Changes in / [8a5bdf0:5e5dbc2]
- Location:
- src
- Files:
-
- 4 edited
-
ResolvExpr/Resolver.cc (modified) (1 diff)
-
benchmark/bench.h (modified) (2 diffs)
-
benchmark/ctxswitch/cfa_cor.c (modified) (1 diff)
-
libcfa/concurrency/thread (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/Resolver.cc
r8a5bdf0 r5e5dbc2 583 583 ss << "' to '"; 584 584 arg.expr->get_result()->print( ss ); 585 ss << "' with env '";586 resultEnv.print(ss);587 585 ss << "'\n"; 588 586 SemanticError( function, ss.str() ); -
src/benchmark/bench.h
r8a5bdf0 r5e5dbc2 6 6 #include <stdlib.h> 7 7 #include <unistd.h> // sysconf 8 #include <sys/times.h> // times 9 #include <time.h> 8 10 #if defined(__cforall) 9 11 } 10 #include <time>12 //#include <bits/cfatime.h> 11 13 #endif 12 14 13 15 14 static inline unsigned long long int bench_time() {16 static inline unsigned long long int Time() { 15 17 struct timespec ts; 16 18 clock_gettime( … … 39 41 } \ 40 42 long long int StartTime, EndTime; \ 41 StartTime = bench_time(); \43 StartTime = Time(); \ 42 44 statement; \ 43 EndTime = bench_time(); \45 EndTime = Time(); \ 44 46 unsigned long long int output = \ 45 47 ( EndTime - StartTime ) / n; 46 48 47 Durationdefault_preemption() {49 __cfa_time_t default_preemption() { 48 50 return 0; 49 51 } -
src/benchmark/ctxswitch/cfa_cor.c
r8a5bdf0 r5e5dbc2 1 1 #include <stdio.h> 2 #include <kernel>3 2 #include <thread> 4 3 -
src/libcfa/concurrency/thread
r8a5bdf0 r5e5dbc2 20 20 21 21 #include "coroutine" 22 #include "kernel"23 22 #include "monitor" 24 23
Note:
See TracChangeset
for help on using the changeset viewer.