Psychiatry

A middle-aged man complains of lack of sleep during the night time. The duration of the time he is truly asleep or awake can be asceained by which of the following?