petdance/scratch — Issue #1024: proper Configure.pl-time check for hires timers
Author: petdance
Created: 2011-11-01 05:38:50+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.

Originally http://trac.parrot.org/parrot/ticket/985