iPhone app system clock & sleep independent tick count
<p>Is there any way to maintain a tick count in your iPhone app which is :</p>

<ol>
<li>independent of system clock </li>
<li>is not impacted by device sleep (unlike CACurrentMediaTime(), UpTime() etc.)</li>
</ol>
