VirtualBox

Changeset 3337 in kBuild for trunk/src/lib/nt


Ignore:
Timestamp:
Apr 22, 2020 5:56:36 PM (5 years ago)
Author:
bird
Message:

kWorker: Intercept GetFileAttributesExA/W for speeding up moc.exe (qt).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/nt/nthlp.h

    r3223 r3337  
    9090
    9191
     92static __inline __int64 birdNtTimeFromTimeSpec(BirdTimeSpec_T const *pTimeSpec)
     93{
     94    __int64 iNtTime = pTimeSpec->tv_sec * 10000000;
     95    iNtTime += pTimeSpec->tv_nsec / 100;
     96    iNtTime += BIRD_NT_EPOCH_OFFSET_UNIX_100NS;
     97    return iNtTime;
     98}
     99
     100
    92101static __inline void birdNtTimeToTimeVal(__int64 iNtTime, BirdTimeVal_T *pTimeVal)
    93102{
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