I wonder if it is normal for MikroC for PIC32 to use so much resources when it is idle?
I have created a new project and have spent days trying to figure out how to get a splash screen displayed on the TFT with no success.
I then resorted to looking on the web for anything that gives me a clue as to how to get started with the Visual TFT that I have bought and found the computer is running really slow again.
I have just noticed the compiler is taking a stupid amount of resources and my computer runs much better when it is not loaded.
Very high CPU and power usage
Very high CPU and power usage
- Attachments
-
- resource.jpg (27.36 KiB) Viewed 1849 times
Re: Very high CPU and power usage
curious what processor? i haven't seen this with mikroc by its self but i don't use the tft software since i use 4d displays.I wonder if it is normal for MikroC for PIC32 to use so much resources when it is idle?
Re: Very high CPU and power usage
Hi,
Which PC configuration do you have ?
Do other mikroE compilers use the same amount of resources like mikroC PRO for PIC32 ?
Regards,
Filip.
Which PC configuration do you have ?
Do other mikroE compilers use the same amount of resources like mikroC PRO for PIC32 ?
Regards,
Filip.
Re: Very high CPU and power usage
Those figures are for the pro compiler. The compiler reports to task manager without the "pro" text.
Here are the figures that I obtained:
Windows 10 pro 64 bit
i7-6700 quad core 3.4GHz
16GB memory, SSD drive
All software is latest versions with dongle licence
mikroC pro: 0 to 1.2% cpu, 301.7MB memory
mikroC pro dsPIC: 0 to 0.2% cpu, 336.3MB
mikroC pro PIC32: 10 to 14% cpu, 107.0MB memory
mikroC pro ARM: 0% steady, 633.6MB
PIC32 IDE does seem to be keeping the CPU very busy for no obvious reason
Not causing me any issues, as I have a fast computer, but it does seem odd.
Here are the figures that I obtained:
Windows 10 pro 64 bit
i7-6700 quad core 3.4GHz
16GB memory, SSD drive
All software is latest versions with dongle licence
mikroC pro: 0 to 1.2% cpu, 301.7MB memory
mikroC pro dsPIC: 0 to 0.2% cpu, 336.3MB
mikroC pro PIC32: 10 to 14% cpu, 107.0MB memory
mikroC pro ARM: 0% steady, 633.6MB
PIC32 IDE does seem to be keeping the CPU very busy for no obvious reason
Not causing me any issues, as I have a fast computer, but it does seem odd.
Start every day with a smile...... (get it over with)
Re: Very high CPU and power usage
CPU use goes down to zero if I close the very simple VTFT project I have by default.
Seems to be the VTFT operation that hogs a lot of CPU time.
Seems to be the VTFT operation that hogs a lot of CPU time.
Start every day with a smile...... (get it over with)
Re: Very high CPU and power usage
Thanks guys for the replies.
Filip, I am not sure about MikroC Pro for PIC as I have uninstalled it as it was unusable and would no longer compile projects properly that it previously compiled.
My hardware is an elderly intel i5-5200U Thinkpad Laptop with 8Gb RAM which is earmarked for replacement before next year as it has quite a relatively low benchmark score.
I normally have my PCB CAD software open at the same time but my PC blue screened yesterday for the first time since I replaced the hybrid HDD with a full SSD last year and seemed to struggle beforehand so I have not opened my CAD today but still notice it more sluggish than normal and MikroC for PIC32 still takes >30% CPU constantly.
It does seem that the PIC32 compiler is a very hungry beast.
I closed my very simple test TFT project and the resources dropped down to <5% but simply moving the cursor over recent projects on the start page made the resources jump to >20% as I moved the mouse over the different projects.
As soon as I selected my very simple TFT project, it jumped to being permanently >30% (memory usage was only a small 140Mb or so and eventually dropped to just over 40Mb after a bit) even with the focus moved to my web browser.
Now a little worried that I may have to bring the plans to replace my replacement laptop forward.
Filip, I am not sure about MikroC Pro for PIC as I have uninstalled it as it was unusable and would no longer compile projects properly that it previously compiled.
My hardware is an elderly intel i5-5200U Thinkpad Laptop with 8Gb RAM which is earmarked for replacement before next year as it has quite a relatively low benchmark score.
I normally have my PCB CAD software open at the same time but my PC blue screened yesterday for the first time since I replaced the hybrid HDD with a full SSD last year and seemed to struggle beforehand so I have not opened my CAD today but still notice it more sluggish than normal and MikroC for PIC32 still takes >30% CPU constantly.
It does seem that the PIC32 compiler is a very hungry beast.
I closed my very simple test TFT project and the resources dropped down to <5% but simply moving the cursor over recent projects on the start page made the resources jump to >20% as I moved the mouse over the different projects.
As soon as I selected my very simple TFT project, it jumped to being permanently >30% (memory usage was only a small 140Mb or so and eventually dropped to just over 40Mb after a bit) even with the focus moved to my web browser.
Now a little worried that I may have to bring the plans to replace my replacement laptop forward.
Re: Very high CPU and power usage
Hi,
this is not new: viewtopic.php?f=106&t=71151
this is not new: viewtopic.php?f=106&t=71151