Also called polysomnography, a sleep study is a test ... number of hours slept, how often you wake up during sleep, and awake time. You also might record how you feel during the day.