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