xed-get-time.h File Reference

#include "xed-portability.h"
#include "xed-types.h"

Go to the source code of this file.

Defines

#define _XED_GET_TIME_H_

Functions

static XED_INLINE xed_uint64_t xed_get_time (void)
 xed_get_time() must be compiled with gnu99 on linux to enable the asm() statements.


Define Documentation

#define _XED_GET_TIME_H_
 

Definition at line 33 of file xed-get-time.h.


Function Documentation

static XED_INLINE xed_uint64_t xed_get_time void   )  [static]
 

xed_get_time() must be compiled with gnu99 on linux to enable the asm() statements.

If not gnu99, then xed_get_time() returns zero with gcc. GCC has no intrinsic for rdtsc. (The default for XED is to compile with -std=c99.) GCC allows __asm__ even under c99!

Definition at line 59 of file xed-get-time.h.


Generated on Wed Jan 21 02:15:49 2015 for XED by  doxygen 1.4.6