constant random freeze and restart
hi everyone,
i have a 13" macbook pro. i believe it's a 2013 model.
for the past two months it has been randomly freezing and then restarting. sometimes it will freeze for a millisecond, sometimes it was stay frozen and if i'm watching a video or listening to music, the audio will skip almost like a skipping CD. then it will shut down and restart. sometimes it will restart again before it even boots up to the login page. sometimes it even freezes on the apple logo during start up and i have to hold the power button to shut it down. either way, it always suddenly shuts down and restarts.
i've run the diagnostic test three times and it says there's nothing wrong. i've checked the activity logs and it's not operating anywhere close to full capacity. usually i only have like google chrome and pages running and that's it. this happens at least five times a day, most of which i'm in class for, so it's become extremely frustrating.
taking it into best buy or apple for a diagnostic test is like $100 so if there's anything i could do to at least find out what's wrong with it, that would be great.
this is probably unrelated but last year i did have a wire related to the start up replaced, but that was a whole different thing (the computer wouldn't even turn on because it couldn't locate the start-up disk or something like that).
does anyone have any insight on what may be the problem? thanks a lot.
MacBook Pro, OS X El Capitan (10.11.2)