On Mon, 19 Feb 2024 21:54:56 -0600, Charles Mills wrote:

>    ... your program or some other unrelated program -- has recently issued an 
> STCK and your program must spin, consuming CPU cycles, until a unique STCK  
> ...
>
>OTOH, if you do need a monotonic value, then you should redesign and recode to 
>use STCKE. 
>
STCKE is faster than STCK because its granularity if finer and
doesn't need to spin as long.

How many instructions could have been issued during such a
(microcode) STCKE spin?

I know, it's model dependent.

And  a mischievous programmer could contrive to line up all the
CPUs abreast and issue STCKE simultaneously to exhibit the
worst case.

-- 
gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to