Changes in / [8a5bdf0:5e5dbc2]


Ignore:
Location:
src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/Resolver.cc

    r8a5bdf0 r5e5dbc2  
    583583                                                                        ss << "' to '";
    584584                                                                        arg.expr->get_result()->print( ss );
    585                                                                         ss << "' with env '";
    586                                                                         resultEnv.print(ss);
    587585                                                                        ss << "'\n";
    588586                                                                        SemanticError( function, ss.str() );
  • src/benchmark/bench.h

    r8a5bdf0 r5e5dbc2  
    66        #include <stdlib.h>
    77        #include <unistd.h>                                     // sysconf
     8        #include <sys/times.h>                                  // times
     9        #include <time.h>
    810#if defined(__cforall)
    911}
    10 #include <time>
     12//#include <bits/cfatime.h>
    1113#endif
    1214
    1315
    14 static inline unsigned long long int bench_time() {
     16static inline unsigned long long int Time() {
    1517    struct timespec ts;
    1618    clock_gettime(
     
    3941        }                                               \
    4042        long long int StartTime, EndTime;       \
    41         StartTime = bench_time();                       \
     43        StartTime = Time();                     \
    4244        statement;                                      \
    43         EndTime = bench_time();                         \
     45        EndTime = Time();                               \
    4446        unsigned long long int output =         \
    4547        ( EndTime - StartTime ) / n;
    4648
    47 Duration default_preemption() {
     49__cfa_time_t default_preemption() {
    4850        return 0;
    4951}
  • src/benchmark/ctxswitch/cfa_cor.c

    r8a5bdf0 r5e5dbc2  
    11#include <stdio.h>
    2 #include <kernel>
    32#include <thread>
    43
  • src/libcfa/concurrency/thread

    r8a5bdf0 r5e5dbc2  
    2020
    2121#include "coroutine"
    22 #include "kernel"
    2322#include "monitor"
    2423
Note: See TracChangeset for help on using the changeset viewer.