Step 1: Understanding the Concept
In SHM, displacement, velocity and acceleration are sinusoidal functions of time, so they vary periodically.
Step 2: Energy
Kinetic energy and potential energy change with time, but their sum \(E=\tfrac12 m\omega^2A^2\) remains constant.
Step 3: Conclusion
The total energy does not vary with time, so it is not periodic.
Final Answer:
Total energy stays constant in SHM.
\[ \boxed{\text{(B) }\text{total energy}} \]