Print Page | Close Window

WPF application cpu usage

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2010
Forum Discription: For .NET 4.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=3356
Printed Date: 13-May-2026 at 7:20am


Topic: WPF application cpu usage
Posted By: pponzano
Subject: WPF application cpu usage
Date Posted: 23-Mar-2012 at 8:58am
Hello,
I have noticed that my application does a cpu utilization around 1%-2% then 0.-..then 1-2% again when the application is minimized and none activity is running... do ideablade pools db for some reason? can I adjust it in somehow?
Thanks





Replies:
Posted By: DenisK
Date Posted: 23-Mar-2012 at 12:39pm
Hi Paolo,

We neither have any Keep Alive logic nor logic that is timer based. If you have a WPF n-tier application, it might be that the WCF Keep Alive logic that's kicking in.


Posted By: pponzano
Date Posted: 24-Mar-2012 at 5:30am
Hello Denisk,
It's just good that's not ideablade, so I can just exclude a piece of code...since I only use ideablade for accessing the the server and retrieving data, would the wcf keep alive beign involved?
What should I use to detect what's consuming cpu?
Thank


Posted By: DenisK
Date Posted: 26-Mar-2012 at 3:53pm
Yes. IdeaBlade is built on top of WCF so any communication using IdeaBlade between server and to retrieve data will involve WCF and any of its underlying logic.

I googled using "C# detect cpu consumption" and got  http://stackoverflow.com/questions/278071/how-to-get-the-cpu-usage-in-c - http://stackoverflow.com/questions/278071/how-to-get-the-cpu-usage-in-c  for the first result. Might be a good place to start.



Print Page | Close Window