RE: [ROOT] cpu 100 % on idle !

From: Axel Naumann (a.naumann@worldnet.att.net)
Date: Tue Sep 11 2001 - 20:39:19 MEST


Hi,

this is nothing new, the reason is that TWin32Application is "idling" by
executing several methods (checking for messages, key input etc) nonstop. I
believe Valeri is working on this...

Cheers, Axel.

> -----Original Message-----
> From: owner-roottalk@pcroot.cern.ch
> [mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of joe robe
> Sent: Tuesday, September 11, 2001 2:16 AM
> To: roottalk@pcroot.cern.ch
> Subject: [ROOT] cpu 100 % on idle !
>
>
> hi rooters,
>
> with every new version compiled programs under vc++
> run worse, especially much slower.
>
> Now my cpu goes to 90-100 % after all code is executed
> while some stuff appears a few seconds AFTER the last
> code line (e.g cout << "end code" appears, 2 seconds
> later a histogramm which was constructed many lines
> before !).
>
> My code looks like
>
> TROOT ROOT("blabla","blabla");
> TApplication RQuantApp("blabla",&argc,argv);
>
> some code here
>
> RQuantApp.Run(kTrue);
>
> This line is the problem, I need it to keep the app in
> memory. If i replace it by cin >> x cpu goes down to
> idle !
>
> What I am doing wrong here or it this a root bug ?
>
> Joe
>
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Get email alerts & NEW webcam video instant messaging with Yahoo!
> Messenger
> http://im.yahoo.com
>



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:59 MET