Comparison of sleep and rest duration