Changes in / [5e5dbc2:8a5bdf0]


Ignore:
Location:
src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/Resolver.cc

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

    r5e5dbc2 r8a5bdf0  
    66        #include <stdlib.h>
    77        #include <unistd.h>                                     // sysconf
    8         #include <sys/times.h>                                  // times
    9         #include <time.h>
    108#if defined(__cforall)
    119}
    12 //#include <bits/cfatime.h>
     10#include <time>
    1311#endif
    1412
    1513
    16 static inline unsigned long long int Time() {
     14static inline unsigned long long int bench_time() {
    1715    struct timespec ts;
    1816    clock_gettime(
     
    4139        }                                               \
    4240        long long int StartTime, EndTime;       \
    43         StartTime = Time();                     \
     41        StartTime = bench_time();                       \
    4442        statement;                                      \
    45         EndTime = Time();                               \
     43        EndTime = bench_time();                         \
    4644        unsigned long long int output =         \
    4745        ( EndTime - StartTime ) / n;
    4846
    49 __cfa_time_t default_preemption() {
     47Duration default_preemption() {
    5048        return 0;
    5149}
  • src/benchmark/ctxswitch/cfa_cor.c

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

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