Hello Alex I have not observed any 100% CPU usage (via "Task Manager") Are you running the "regular" ROOT or your own ROOT-based stand-alone application ? Is it Win9x or NT brand (NT4, NT5, W2K) ? Valeri ----- Dr.Valeri Fine STAR/US Atlas E-mail: fine@bnl.gov Brookhaven National Lab Phone: +1 631 344 7806 Upton, NY 11973-5000 FAX: +1 631 344 4206 USA ----- Original Message ----- From: "Axel Naumann" <axel@fnal.gov> To: "Roottalk@Pcroot. Cern. Ch" <roottalk@pcroot.cern.ch> Sent: Thursday, August 23, 2001 10:34 PM Subject: [ROOT] 100% CPU usage - at least under Win > Hi, > > I have one TApplication running, an open TCanvas, and although ROOT should > just sit and wait for me to click something it's using 100% of CPU time. > > After using the process viewer (something like xtop for windows) in > combination with the debugger I found out that this is caused by one thread, > started by my call to TApplication::Run, which then calls TSystem::Run, > which in turn produces an avalanche of nested calls, all doing pretty much > nothing except for calling empty methods. > > The problem is that these calls are executed "as fast as possible", as there > is no WaitMessage or anything stopping them from running. > > First of all: Am I the only one with 100% CPU usage? > Second: Can somebody do something about this? I've seen there is a > gApplication->StartIdleing, StopIdleing call combination, is there a way to > "turn them on" (i.e. use timers)? > > Cheers, Axel. > >
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:58 MET