Problem with a TreeView - speed



Hello,

I'm trying to develope an opensource project, that will be run on win32
and linux. It will be application like a CAN-Monitor -> CAN = Controller
Area Network, that means It have to show CAN-Messages that are passing
the network. For this are other applications using the same widget as
TreeView and I'm trying it now too. But my problem is: It is possible
that 8888 messages per second will going through CAN-Network and my
Gtk::TreeView is able to adopt only 4000 messages / s, when there are
more than the gui don't update itself and my CPU-Load is by 100%! Than I
made a test: on starting gui i had create 100000 CAN-messages and
entered them to TreeView, after 10 seconds they were inside TreeView (I
could see them), but the next two or three minutes the CPU-Load was by
100% and I couldn't move my application-window or doing something else
-> my TreeView was anything doing in the background. What was the
TreeView doing in the background and how can I improve the "speed" of  it?

Thanks in advance!


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]