Hi Zakirasafi, > unsigned int timestamp(void) > { > unsigned int bottom; > unsigned int top; > *asm volatile(".byte 15;.byte 49" : "=a"(bottom),"=d"(top)); return bottom;* > }
It is ‘RDTSC’ instruction. Besides, I am happy that someone is also working on side channel attack on Xen. Maybe we can contact in private. Weijie. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel