Reading a register

Get it. Is there a way of measuring how many cycles does this function take?