Ignore:
Timestamp:
Sep 26, 2017, 11:27:38 PM (5 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, with_gc
Children:
5dc26f5
Parents:
201aeb9
Message:

merge

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/benchmark/bench.h

    r201aeb9 rd67cdb7  
    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;
     13static inline unsigned long long int Time() {
     14    struct timespec ts;
    1115    clock_gettime(
    1216#if defined( __linux__ )
Note: See TracChangeset for help on using the changeset viewer.