#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 */
#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){
static__inline__uint64_trdtsc(void){
unsignedlonglonga,d;
uint64_ta,d;
__asm__volatile("rdtsc":"=a"(a),"=d"(d));
__asm__volatile("rdtsc":"=a"(a),"=d"(d));
return(d<<32)|a;
return(d<<32)|a;
}
}
...
@@ -353,6 +356,26 @@ static inline unsigned long long rdtsc(void) {
...
@@ -353,6 +356,26 @@ static inline unsigned long long rdtsc(void) {