I have to interpret some c-code as a kind of homework and I don't really understand this macro:
#define rdtscll(val)__asm__ __volatile__("rdtsc":"=A"(val))
I know it's some kind of static function named rdtscll
which receives one parameter val
. But what about the rest?
- What are
__asm__
and__volatile__
and why those underscores? - are those 2 different constants separated by a space?