0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-28 16:15:23 +08:00

Fix timestamp counter on s390/s390x

Fixes #811
This commit is contained in:
Alessandro Ghedini 2014-01-12 12:31:31 +01:00
parent 6e1b1fef8f
commit 245c75aad6

View File

@ -193,7 +193,6 @@ uint64_t zmq::clock_t::rdtsc ()
#elif defined(__s390__)
uint64_t tsc;
asm("\tstck\t%0\n" : "=Q" (tsc) : : "cc");
tsc >>= 12; /* convert to microseconds just to be consistent */
return(tsc);
#else
return 0;