@juergenkulow
Apart from the fact that Microsoft itself advises against using RDTSC, the problem with your code is somewhere else. After I put your code into a readable form, it was immediately clear that your comparison values could produce nothing else than nonsense. See my posting from 25.09.2019
As some previous posters have reported, it doesn't matter if you use a constant or a literal. You can give examples of what you want, nothing will change this.
Do Constants help speed up your Program ?
Re: Do Constants help speed up your Program ?
sorry for my bad english