Commit 245c75aa authored by Alessandro Ghedini's avatar Alessandro Ghedini

Fix timestamp counter on s390/s390x

Fixes #811
parent 6e1b1fef
......@@ -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