“rdtsc”: “=a” (a0), “=d” (d0) what does this do? [duplicate]
问题 This question already has answers here : How to get the CPU cycle count in x86_64 from C++? (4 answers) Closed 6 months ago . I'm new to C++ and benchmarking I don't understand what the this part of the code does? So I found something about the edx, eax registers, but I don't fully understand how that plays into the code. So I understand this code essentially returns the current tick of the cpu cycle. So, does it store the current tick into the registers, one part in the hi and the other part