Commit ea54669b authored by Ian Barber's avatar Ian Barber

Merge pull request #818 from Debian/s390x

Fix timestamp counter on s390/s390x
parents 6e1b1fef 245c75aa
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment