Eliminate the TSRMLS_FETCH() calls in the ticks functions and hook