- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, everyone I have one question about the usage of CPU.
I used IVF to make a simple GUI and do the calculations. When I open the executable application,
the CPU usage is always 50%. When I run the application, the CPU usage will becomes 100% so that it will
becomes very slow when I run other applications. When the calculation is finished, the usage of CPU will become 50% again.
How can I make the CPU usage is low when I open the execuatble application and after the calculation is finished?
Thanks a lot.
Bisheng
I used IVF to make a simple GUI and do the calculations. When I open the executable application,
the CPU usage is always 50%. When I run the application, the CPU usage will becomes 100% so that it will
becomes very slow when I run other applications. When the calculation is finished, the usage of CPU will become 50% again.
How can I make the CPU usage is low when I open the execuatble application and after the calculation is finished?
Thanks a lot.
Bisheng
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think we'll need more information. If your application is doing lots of computation, it will, naturally, use a lot of CPU cycles.
Is this a QuickWin project? If so, so you have a loop at the end of the main program that just waits for termination? That loop is probably taking all the CPU. Add a:
CALL SLEEPQQ(200)
inside the loop - you may need to add a USE IFPORT at the top of the main program.
Is this a QuickWin project? If so, so you have a loop at the end of the main program that just waits for termination? That loop is probably taking all the CPU. Add a:
CALL SLEEPQQ(200)
inside the loop - you may need to add a USE IFPORT at the top of the main program.
![](/skins/images/3344F5B3B76C91485ED0E980FD0CA95E/responsive_peak/images/icon_anonymous_message.png)
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page