Changeset 92709 in vbox for trunk/include/VBox
- Timestamp:
- Dec 2, 2021 1:56:44 PM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 148608
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/sup.h
r92705 r92709 794 794 * 795 795 * @returns The TSC delta value (will not return the special INT64_MAX value). 796 * @remarks Requires GIP to be initialized and valid. 797 */ 798 DECLINLINE(int64_t) SUPGetTscDelta(void) 799 { 800 PSUPGLOBALINFOPAGE pGip = g_pSUPGlobalInfoPage; 796 * @param pGip The GIP, NULL is okay in ring-3. 797 * @remarks Requires GIP to be initialized and valid if pGip isn't NULL. 798 */ 799 DECLINLINE(int64_t) SUPGetTscDelta(PSUPGLOBALINFOPAGE pGip) 800 { 801 #ifdef IN_RING3 802 if (!pGip || pGip->enmUseTscDelta <= SUPGIPUSETSCDELTA_ROUGHLY_ZERO) 803 #else 801 804 if (pGip->enmUseTscDelta <= SUPGIPUSETSCDELTA_ROUGHLY_ZERO) 805 #endif 802 806 return 0; 803 807 return SUPGetTscDeltaSlow(pGip);
Note:
See TracChangeset
for help on using the changeset viewer.