Seems more like an issue of task-priorities getting out of perspective too easily. Not sure if medicinal-stimulants designed to slow reaction-times will accomplish much aside from detaching you mind from feeling the fatigue and pain of the body
just enough to prevent you from slipping into shock*.
*One of the other uses for amphetamines is pretty much in combination with painkillers to slap wounded soldiers back into the fight despite having a barely-stabilized gunshot wound or five to the chest in addition to a P-valve/needle to re-inflate the lungs. Still bleeding like a mo-fo, though.
As for falling asleep mid all-nighter, all I can suggest is lots of water and
FOOD. Real fatty food high in protein because the later breaks-down and needs to be replaced exponentially faster by the hour
and sugar can cause an immediate debilitating 'crash' with little or no warning.
-Water to help process it, and because it's hard to sleep when you've got to pee.
(also, if you clicked the video instead of finish reading this, GET BACK TO WORK. Because us and the internet can wait, like, forever. And even if we couldn't wait, nobody gets anywhere without making a choice to do it, and constantly picking that same decision even when alternatives become available or the path becomes difficult.)
Aside note: Found out my old patrol-leader is now a captain/S-3 in the 10th Mountain Division with ~10 years of military-service on-record. Which strangely enough puts him on the same level as
@Gunther. (actually, no, Gunther would hold seniority)
-Wild guess based on the decorations on his uniform that it was 3rd BCT to Afghanistan in '06-07/'09/'11-'12 (ext. tour)/'13-'14. So I didn't feel like prying. All I know is OPFOR took a shot at him and his men and OPFOR lost.