<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Performance meter customisation]]></title><description><![CDATA[<p dir="auto">I would like to customise the performance meter, I want to add some more text to it. The <a href="http://hise.audio/floating_tile_api/class_performance_label_panel.html" rel="nofollow ugc">floating tile docs</a> say to use the individual calls such as <code>Engine.getCpuUsage()</code> however those calls don't update in real-time like the default performance meter does.</p>
]]></description><link>https://forum.hise.audio/topic/614/performance-meter-customisation</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Apr 2026 00:56:09 GMT</lastBuildDate><atom:link href="https://forum.hise.audio/topic/614.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 17 Mar 2018 23:29:33 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Performance meter customisation on Sun, 18 Mar 2018 21:12:25 GMT]]></title><description><![CDATA[<p dir="auto">Thank you. For anyone else who comes across this, here is what I've done.</p>
<pre><code class="language-javascript">const var pnlStats = Content.getComponent("pnlStats");
const var lblStats = Content.getComponent("lblStats");
pnlStats.startTimer(250);

pnlStats.setTimerCallback(function()
{        
    lblStats.set("text", "CPU: " + Math.round(Engine.getCpuUsage()) + "%" + ", " + "RAM: " + Math.round(Engine.getMemoryUsage()) + "MB" + ", " + "Voices: " + Engine.getNumVoices());
});

</code></pre>
<p dir="auto">Is <code>Engine.doubleToString()</code> faster than <code>Math.round()</code>?</p>
]]></description><link>https://forum.hise.audio/post/3890</link><guid isPermaLink="true">https://forum.hise.audio/post/3890</guid><dc:creator><![CDATA[David Healey]]></dc:creator><pubDate>Sun, 18 Mar 2018 21:12:25 GMT</pubDate></item><item><title><![CDATA[Reply to Performance meter customisation on Sun, 18 Mar 2018 11:10:41 GMT]]></title><description><![CDATA[<p dir="auto">Actually the performance meter is just a label with a timer so you can roll your own versiom pretty easily.</p>
<p dir="auto">I‘d recommend writing a custom Panel for this, this way you can also implement bar meters, anither layout etc.</p>
]]></description><link>https://forum.hise.audio/post/3887</link><guid isPermaLink="true">https://forum.hise.audio/post/3887</guid><dc:creator><![CDATA[Christoph Hart]]></dc:creator><pubDate>Sun, 18 Mar 2018 11:10:41 GMT</pubDate></item></channel></rss>