Hi, welcome to the ehealth forum and I am glad to help you.
You seem to be concerned by the delay in sleep onset along with the poor quality of sleep.
You might be suffering from sleep disorder viz. insomnia and might need polysomnography to quantify and establish the diagnosis of insomnia.Approximately half of all diagnosed insomnia is related to psychiatric disorders. In depression in many cases "insomnia should be regarded as a co-morbid condition, rather than as a secondary one;" insomnia typically predates psychiatric symptoms. "In fact, it is possible that insomnia represents a significant risk for the development of a subsequent psychiatric disorder."
You must consult a sleep disorder specialist or a psychiatrist for further consultation as it is not possible to reach a definitive diagnosis online.
Hope this helps. Take care.