Skip to content
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (12 sloc) 1.45 KB
_HEADER_HL1(`17-Feb-2008: Oracle V$TIMER')
<p>On different OS, Oracle V$TIMER system value shows different values.
On Microsoft Windows (I tested Oracle 8.0.5, 8.1.5,,,,, x64, and x64) this value is exactly what system call <a href="">GetTickCount()</a> returning divided by 10.
On GNU/Linux (I tested,, and x64) this is exactly what <a href="">times()</a> system call returning.
On Solaris 10 (I tested x64) this is value returned by <a href="">gethrtime()</a> divided by 10000000.</p>
<p>So, while we reading official Oracle manual of 11g Release 1 (11.1):</p>
<p><a href="">V$TIMER displays the elapsed time in hundredths of a second. Time is measured since the beginning of the epoch, which is operating system specific, and wraps around to 0 again whenever the value overflows four bytes (roughly 497 days).</a></p>
<p>... they probably not covering all OS-es.</p>
<p>Update: The story about how did I find it, I added to my "Quick introduction to reverse engineering for beginners" book: _HTML_LINK_AS_IS(`//')</p>
You can’t perform that action at this time.