I would like to know more about QueryPerformanceCounter and QueryPerformanceFrequency.

Has anyone ever used it with success?