petdance/scratch — Issue #786: proper Configure.pl-time check for hires timers
Author: petdance
Created: 2011-11-01 05:36:53+00:00
State: open
Labels: Pri-normal, profiling, Sev-medium, todo

Currently parrot uses clock_gettime() unless the platform is darwin, in which it uses gettimeofday(). Any other esoteric platform that does not have clock_gettime() will currently not build on parrot.

A proper check for each function should be done at Configure.pl-time for these. Devel::NYTProf2 has already solved most of these issues, we should emulate that.
Trac ID #985