VirtualBox

Ignore:
Timestamp:
Sep 22, 2008 8:58:39 AM (16 years ago)
Author:
vboxsync
Message:

FE/Qt: reduce the number of dependencies to iprt/asm.h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox4/include/VBoxDefs.h

    r12286 r12627  
    2929#include <VBox/log.h>
    3030#include <iprt/assert.h>
    31 
    3231#include <iprt/alloc.h>
    33 #include <iprt/asm.h>
    3432
    3533#ifdef VBOX_GUI_DEBUG
     
    7876{
    7977public:
    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();
    8380    inline static uint64_t msecs( uint64_t tcks ) {
    8481        return tcks / ticks_per_msec;
Note: See TracChangeset for help on using the changeset viewer.

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