Git Product home page Git Product logo

eperf's People

Contributors

sdressler avatar

Stargazers

 avatar

Watchers

 avatar  avatar

eperf's Issues

EPerF not building on OS X

EPerF fails when building on OS X 10.7.4 / GCC 4.2 and 4.7

make -C lib
g++ -g -O2 -fPIC -c EPerfData.cpp
In file included from ../include/EPerf/EPerfData.h:15,
from EPerfData.cpp:1:
../include/EPerf/EPerfClock.h:16: error: ‘clockid_t’ does not name a type
../include/EPerf/EPerfClock.h:19: error: expected ‘,’ or ‘...’ before ‘&’ token
../include/EPerf/EPerfClock.h:19: error: ISO C++ forbids declaration of ‘clockid_t’ with no type
../include/EPerf/EPerfClock.h: In member function ‘void ENHANCE::EPerfClock::takeStartStamp()’:
../include/EPerf/EPerfClock.h:21: error: ‘clock_gettime’ was not declared in this scope
../include/EPerf/EPerfClock.h: In member function ‘void ENHANCE::EPerfClock::takeStopStamp()’:
../include/EPerf/EPerfClock.h:22: error: ‘clock_gettime’ was not declared in this scope
EPerfData.cpp: In constructor ‘ENHANCE::EPerfData::EPerfData()’:
EPerfData.cpp:6: error: no matching function for call to ‘ENHANCE::EPerfClock::EPerfClock()’
../include/EPerf/EPerfClock.h:19: note: candidates are: ENHANCE::EPerfClock::EPerfClock(int)
../include/EPerf/EPerfClock.h:12: note: ENHANCE::EPerfClock::EPerfClock(const ENHANCE::EPerfClock&)
EPerfData.cpp:11: error: ‘CLOCK_MONOTONIC’ was not declared in this scope
EPerfData.cpp:14: error: ‘CLOCK_PROCESS_CPUTIME_ID’ was not declared in this scope
make[1]: *** [EPerfData.o] Error 1
make: *** [build-lib] Error 2

--> clock_gettime not natively supported on OS X

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.