New Posts New Posts RSS Feed: WPF application cpu usage
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

WPF application cpu usage

 Post Reply Post Reply
Author
DenisK View Drop Down
IdeaBlade
IdeaBlade


Joined: 25-Aug-2010
Posts: 715
Post Options Post Options   Quote DenisK Quote  Post ReplyReply Direct Link To This Post Topic: WPF application cpu usage
    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 for the first result. Might be a good place to start.
Back to Top
pponzano View Drop Down
Senior Member
Senior Member
Avatar

Joined: 28-Apr-2011
Location: Italy
Posts: 165
Post Options Post Options   Quote pponzano Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
DenisK View Drop Down
IdeaBlade
IdeaBlade


Joined: 25-Aug-2010
Posts: 715
Post Options Post Options   Quote DenisK Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
pponzano View Drop Down
Senior Member
Senior Member
Avatar

Joined: 28-Apr-2011
Location: Italy
Posts: 165
Post Options Post Options   Quote pponzano Quote  Post ReplyReply Direct Link To This Post 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


Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down