I was just thinking about this during one of my projects on QNX which deals with measuring CPU utilization of some strange thing under some strange circumstances.
The situation was like this. A process comes to the CPU, hogs it and goes off. Now to say, the actual time when the process started hogging the CPU was when the process entered the CPU. (from its Ready state). I had to check if a process was hogging the CPU and trigger some weird thing when it happened. So the only time when I come to know the process is hogging is after it comes out of the CPU. Now when it comes out, Im triggering something that was supposed to happen when the hogging started. With my design, it was nearly impossible to do so. I thought of some strange forwarding technique and other things. But after a few days I realized, its impossible to do something like that. What i required was to predict the future in order to be at the right time.
So I thought of life in general. We do everything only after something has happened.
We realize things only after everything is over. We will never know that we're having a good time until its over and we think back. We will never know that we were so happy that we were on cloud 9 until we get back to earth and look at the skies.
It is like some strange time paradox and applies to all realms. - "You'll never know what's going on until its over"
No comments:
Post a Comment