#define LOG_RETURN(c,x) do {uint32_t __rv;__rv=(unsigned int)(x);LOG_T(c,"Returning %08x\n", __rv);return((typeof(x))__rv);}while(0) /*!< \brief Macro to log a function exit, including integer value, then to return a value to the calling function */
/* @}*/
staticinlineunsignedlonglongrdtsc(void){
unsignedlonglonga,d;
__asm__volatile("rdtsc":"=a"(a),"=d"(d));
return(d<<32)|a;
static__inline__uint64_trdtsc(void){
uint64_ta,d;
__asm__volatile("rdtsc":"=a"(a),"=d"(d));
return(d<<32)|a;
}
#define DEBUG_REALTIME 1
...
...
@@ -353,6 +356,26 @@ static inline unsigned long long rdtsc(void) {