Use internal function to get fps