Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/benchmark/bench.h

    r7286a40 rdbe7756  
    11#pragma once
    22
     3#ifdef __CFORALL__
    34extern "C" {
     5#endif
    46        #include <unistd.h>                                     // sysconf
    57        #include <sys/times.h>                                  // times
    68        #include <time.h>
     9#ifdef __CFORALL__
    710}
     11#endif
    812
    9 inline unsigned long long int Time() {
    10     timespec ts;
     13
     14static inline unsigned long long int Time() {
     15    struct timespec ts;
    1116    clock_gettime(
    1217#if defined( __linux__ )
Note: See TracChangeset for help on using the changeset viewer.