23.07.2013 Views

HP-UX 11i Knowledge-on-Demand

HP-UX 11i Knowledge-on-Demand

HP-UX 11i Knowledge-on-Demand

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Mercury caveats<br />

• The Mercury interface is <str<strong>on</strong>g>HP</str<strong>on</strong>g> proprietary.<br />

• Mercury values returned are to be c<strong>on</strong>sidered hints.<br />

− For example, values returned by hg_gethrcycles(), which are<br />

adjusted to return comparable value <strong>on</strong> all processors, may be off<br />

by a few cycles because the processors’ interval timers may drift<br />

with respect to each other.<br />

• Mercury advisories are to be c<strong>on</strong>sidered hints to the<br />

system.<br />

− For example, when calling hg_setcrit(), normally the kernel will<br />

h<strong>on</strong>or the request and not c<strong>on</strong>text switch the thread out. However,<br />

the kernel at some point may decide not to h<strong>on</strong>or this request. One<br />

reas<strong>on</strong> is that if c<strong>on</strong>text switching has been held off too much by this<br />

thread, it will no l<strong>on</strong>ger be h<strong>on</strong>ored.<br />

<str<strong>on</strong>g>HP</str<strong>on</strong>g>-<str<strong>on</strong>g>UX</str<strong>on</strong>g> <str<strong>on</strong>g>11i</str<strong>on</strong>g> v3 Training

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!