Mathematress
The in-bed mathematics that one performs in order to calculate how many hours or minutes they will be able to sleep for if they fall asleep immediately. Usually this is done in desperation after failing multiple attempts at falling asleep. The calculations usually begin while uncomfortably lying awake and trying to force yourself to sleep, you use the time you intend to sleep by and the time you have to get up, and all time in between is the Mathematress calculated sleep time.
*Guy looks over at the clock* "Shit it's already 3 and I have to be up at 8...well Mathematress says I'll only get 5 hours if I can get to sleep right now.....right now......damn!