r15508: Use clock_gettime for profiling timstamps if it is available. Use