Clock

Does the clock() function return the number of cycles from the shader clock or core clock?

Have a look at the programming guide:

I don’t see how that answers my question.

Well, I think it is a very clear answer. It is the clock of the multiprocessors. In the past before CUDA those were called shaders ;)