Have you ever gotten up in the middle of the night, taken a few steps and thought to you self "oh shit, I'd better sit down or I'm gonna pass out"? I just had another one today. Got up to take a piss, was standing at the sink to wash my hands and got the 'oh shit' feeling. I got on the floor and sat for a few minutes and when I realized I wasn't going to be able to stand up, I had to crawl back to bed.
I had one actual 'loss-of-consciousness' episode before that happened in the middle of the night. Seems to center around the fact that I'm not fully awake. I went to the doctor to see WTF happened. He diagnosed it as neurocardiogenic syncope. He said he wanted me to undergo a tilt-table test. I said no thanks. I mean, unless they're going to schedule the test for the middle of the night and wake me from a sound sleep to strap me to the table, I don't see how they're going to induce dizzyness in me.
Then again, I've been working a lot of overtime lately...maybe I'm more prone to this when my body is in a state of higher stress. Who knows.