A particle executes a SHM with frequency ν. The frequency of variation of potential energy will be :
2 ν
ν
ν2
3 ν
K.E. and P.E. are square of sinusoidal functions. So the frequency of variation will be double of the frequency of oscillation.