<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Ken, Hi Tim, Hi All,<br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">    I see that ARM32 does indeed support a 64-bit performance counter.  See <span style="font-family:Arial;font-size:10pt;font-weight:700;color:rgb(0,0,0)">G8.7.23</span></div><div class="gmail-page" title="Page 6692" style="color:rgb(0,0,0);font-family:-webkit-standard"><div class="gmail-layoutArea"><div class="gmail-column"><p><span style="font-size:10pt;font-family:Arial;font-weight:700">CNTVCT, Counter-timer Virtual Count register<span class="gmail_default" style="font-size:small">, p </span></span><span style="font-family:ArialMT;font-size:8pt">G8-6692<span class="gmail_default" style="font-size:small"> of the Armv8 Architecture Manual.  Apparently the assembler syntax for accessing this is</span></span></p><p><span style="font-family:ArialMT;font-size:8pt"><span class="gmail_default" style="font-size:small">        </span></span><span style="font-family:Arial;font-size:9pt;font-style:italic;font-weight:700">MRRC{<c>}{<q>} <coproc>, {#}<opc1>, <Rt>, <Rt2>, <CRm></span><span style="font-family:ArialMT"></span></p></div></div></div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><span style="font-size:small;border-collapse:separate"><div><br></div><div><div class="gmail_default" style="font-size:small">I would love to see this counter accessed in platforms//unix/vm/sqUnixHeartbeat.c at about line 187.  I'm revisiting primitive profiling in the JIT and expect I shall be accessing the counter directly from machine code, but AndreasSystemProfiler also needs this accessible from C, and ARM32 is the only one of our platforms not to implement this yet. </div><br></div><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div></div></div></div></div></div>