mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-31 01:43:02 +08:00
parent
6e1b1fef8f
commit
245c75aad6
@ -193,7 +193,6 @@ uint64_t zmq::clock_t::rdtsc ()
|
|||||||
#elif defined(__s390__)
|
#elif defined(__s390__)
|
||||||
uint64_t tsc;
|
uint64_t tsc;
|
||||||
asm("\tstck\t%0\n" : "=Q" (tsc) : : "cc");
|
asm("\tstck\t%0\n" : "=Q" (tsc) : : "cc");
|
||||||
tsc >>= 12; /* convert to microseconds just to be consistent */
|
|
||||||
return(tsc);
|
return(tsc);
|
||||||
#else
|
#else
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user