Logo Search packages:      
Sourcecode: virtualbox-ose version File versions  Download package

prfcorepre.cpp.h File Reference


Detailed Description

kProfiler Mark 2 - Core Pre-Code Template.

Definition in file prfcorepre.cpp.h.

Go to the source code of this file.

Defines

#define KPRF_ALIGN(n, align)   ( ((n) + ( (align) - 1)) & ~((align) - 1) )
#define KPRF_ATOMIC_ADD64(pu64, u64)   do { *(pu64) += (u64); } while (0)
#define KPRF_ATOMIC_INC64(pu64)   KPRF_ATOMIC_ADD64(pu64, 1)
#define KPRF_ATOMIC_SET32(pu32, u32)   do { *(pu32) = (u32); } while (0)
#define KPRF_FUNCS_READ_LOCK()   do { } while (0)
#define KPRF_FUNCS_READ_UNLOCK()   do { } while (0)
#define KPRF_FUNCS_WRITE_LOCK()   do { } while (0)
#define KPRF_FUNCS_WRITE_UNLOCK()   do { } while (0)
#define KPRF_IS_ACTIVE()   1
#define KPRF_MODSEGS_LOCK()   do { } while (0)
#define KPRF_MODSEGS_UNLOCK()   do { } while (0)
#define KPRF_OFF2PTR(TypePrefix, TypeName, off, pHdr)   ( (KPRF_TYPE(TypePrefix, TypeName)) ((off) + (KPRF_TYPE(,UPTR))pHdr) )
#define KPRF_OFFSETOF(kPrfType, Member)   ( (KU32)(KUPTR)&((KPRF_TYPE(P,kPrfType))0)->Member )
#define KPRF_PTR2OFF(ptr, pHdr)   ( (KPRF_TYPE(,UPTR))(ptr) - (KPRF_TYPE(,UPTR))(pHdr) )
#define KPRF_SETMIN_ALIGN(n, min, align)
#define KPRF_SIZEOF(kPrfType)   sizeof(KPRF_TYPE(,kPrfType))
#define KPRF_THREADS_LOCK()   do { } while (0)
#define KPRF_THREADS_UNLOCK()   do { } while (0)


Generated by  Doxygen 1.6.0   Back to index