Add timerclock and move inline function definition