Hello,Anton This feature has nothing to do with Windows. To solve your puzzle one should start ROOT with "trace" option. Do: .T TTimer Timer(100); Timer.Start(); You should get (TTimer *)0x777->Notify() forever ! To see where this hell comes from go to: http://root.cern.ch/root/htmldoc/src/TTimer.cxx.html#TTimer:Notify This means each time when the TTimer period is elapsed it calls CINT. CINT in turn 1. creates a temporary file, 2. writes a C++ statement into the file 3. reads it back to interpret 4. deletes the temporary file. This is 10 times /sec as one may have guessed for your case. Hope this explains the weird behavior you was observing Best regards, 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: "Anton Fokin" <anton.fokin@smartquant.com> To: <roottalk@pcroot.cern.ch> Sent: Monday, August 13, 2001 5:03 AM Subject: [ROOT] Strange TTimer behavior under win98 > Hello people, > > I observe a very strange TTimer feature on win98: > > if I simply type > > TTimer Timer(100); > Timer.Start(); > > It starts accessing the harddisk every second and does it very > instensively (looks/sounds like swapping). I do not observe this under > winNT though. Does anyone notice something like that? > > Regards, > Anton > >
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:57 MET