Usually whenever your CPU temperature exceeds a certain level, then your computer restart automatically after certain interval of time. In such case it is essential to check your CPU temperature. Below are the simple step about how you can see your CPU temperature.
1) Go to Bios.
2) To get into the BIOS hit delete just after you restart your computer.
3) There you can see – system tempature or CPU temperature.