Want A real-time chart just display CPU Usage. Topic is solved

Are you writing your own components and need help with how to set them up or have questions about the components you are deriving from ? Ask them here.
Post Reply
Ribo
Earned a small fee
Earned a small fee
Posts: 11
Joined: Fri Nov 28, 2008 3:25 am

Want A real-time chart just display CPU Usage.

Post by Ribo »

a chart can display the os usage just like Windows Task Manager do.

Any one who can give an idea?

thanks.
aquawicket
Earned some good credits
Earned some good credits
Posts: 103
Joined: Sun Aug 05, 2007 5:49 am

Post by aquawicket »

There is no wx function to display CPU usage, but here's some code that will do it on Windows.

http://www.codeproject.com/system/cpuusage.asp
computerquip
Experienced Solver
Experienced Solver
Posts: 72
Joined: Fri Feb 20, 2009 7:13 pm
Location: $(#wx)\src

Post by computerquip »

Linux is opensource and I think there are a couple of functions that you can call to display this. Plus plenty of Qt backgrounds and widgets call CPU Usage so I'm sure you could do that or you could even create a wxObject for us. :)

*If not I will*
Post Reply