Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 14 MAY 2023 08:58:17PM Russell Olton wrote:

I have found that the cpu usage sits at about 25% for a long running event even though the process is basically sleeping. In OI 9.4 the cpu usage for the same process would typically sit between 0 and 0.5%.

I have created a simple form / commuter in SYSPROG to mimic this setup and it produces the same behaviour. I can provide the source code if required but essentially the form just has a start button and a stop button. Clicking on Start calls a program that runs a loop that 1) sleeps for a second; 2) checks if the stop button has been pressed; and 3) performs a yield. The loop will continue until the Stop button is pressed.

Any ideas as to why the cpu usage would be so high even though the program is basically sleeping? If I run the program directly from TCL or the System monitor (with a timed exit instead of the Stop button) the cpu sits at about 0.


At 15 MAY 2023 12:43PM Carl Pates wrote:

Hi Russell,

Are you test-running a form from the IDE when you see this? The Form Designer uses a TIMER event during this process which could explain what you are seeing, otherwise we will need further details to help figure this out.

Regards

Carl Pates


At 15 MAY 2023 07:04PM Russell Olton wrote:

Hi Carl,

It's the same whether I start it from TCL or the System monitor or test run it from the IDE or even via a program.

I can send a RDK of the test form / commuter I created in SYSPROG if that will help although it should be very easy to replicate - just let me know what you need.

Thanks,

Russell


At 15 MAY 2023 08:19PM Carl Pates wrote:

Hi Russell

An RDK is fine - email is below.

Regards,

Carl Pates


At 16 MAY 2023 09:48AM Carl Pates wrote:

HI Russell,

Thanks for the RDK - you'll be pleased to know it should be fixed for the next release so watch out for it then.

Regards

Carl Pates

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/bc67010fe32eca488e6c3a675c932135.txt
  • Last modified: 2024/05/23 12:38
  • by 127.0.0.1