If it only happens during performance gaming your rig might be overheating. Do some tests and find out, if it is just go in and clean it/ make sure nothing is blocking your fan(s).
I do stuffs.
I can teach you how to do what you wanna know but don't have the software on me anymore to do myself and don't really feel like getting any.