Gaming increasing frequency problems caused by PSU

My computer restarts spontaneously in the middle of certain game in an increasing frequency. I have tried cleaning the case even though the temperature is never too high. I also tried reinstalling the GPU drivers. Is this the problem caused by the PSU? How can I resolve it?
