Changeset 12627 in vbox for trunk/src/VBox/Frontends/VirtualBox4/include
- Timestamp:
- Sep 22, 2008 8:58:39 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/include/VBoxDefs.h
r12286 r12627 29 29 #include <VBox/log.h> 30 30 #include <iprt/assert.h> 31 32 31 #include <iprt/alloc.h> 33 #include <iprt/asm.h>34 32 35 33 #ifdef VBOX_GUI_DEBUG … … 78 76 { 79 77 public: 80 inline static uint64_t ticks() { 81 return ASMReadTSC(); 82 } 78 /* don't inline this function to not depend on iprt/asm.h here */ 79 static uint64_t ticks(); 83 80 inline static uint64_t msecs( uint64_t tcks ) { 84 81 return tcks / ticks_per_msec;
Note:
See TracChangeset
for help on using the changeset viewer.