VirtualBox

Changeset 14856 in vbox for trunk/src/VBox/Runtime/r3


Ignore:
Timestamp:
Dec 1, 2008 1:41:12 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
40186
Message:

Runtime: moved initialization of g_u64ProgramStart*TS down to be sure that the GIP time is already properly ticking

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/init.cpp

    r14832 r14856  
    220220
    221221    /*
    222      * Init the program start TSes.
    223      */
    224     g_u64ProgramStartNanoTS = RTTimeNanoTS();
    225     g_u64ProgramStartMicroTS = g_u64ProgramStartNanoTS / 1000;
    226     g_u64ProgramStartMilliTS = g_u64ProgramStartNanoTS / 1000000;
    227 
    228     /*
    229222     * The Process ID.
    230223     */
     
    260253
    261254    /*
     255     * Init the program start TSes.
     256     * Do that here to be sure that the GIP time was properly updated the 1st time.
     257     */
     258    g_u64ProgramStartNanoTS = RTTimeNanoTS();
     259    g_u64ProgramStartMicroTS = g_u64ProgramStartNanoTS / 1000;
     260    g_u64ProgramStartMilliTS = g_u64ProgramStartNanoTS / 1000000;
     261
     262    /*
    262263     * More stuff to come?
    263264     */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette