clock() function in emulation

What does the clock() function return in an emulation build? Number of CPU clock cycles?

When executed on the host, a given function uses the C runtime implementation if available.

clock() is part of the standard C library, so is always available and returns the number of CPU clock cycles, yes.