Skip to content
Snippets Groups Projects
Commit 591b74d8 authored by Rene Brun's avatar Rene Brun
Browse files

gTicks must be set in the constructor.

cannot go back to previous version giving complaints in valgrind.


git-svn-id: http://root.cern.ch/svn/root/trunk@26576 27541ba8-7e3a-0410-8455-c3a389f83636
parent f9e67458
No related branches found
No related tags found
Loading
...@@ -41,8 +41,8 @@ TStopwatch::TStopwatch() ...@@ -41,8 +41,8 @@ TStopwatch::TStopwatch()
// Create a stopwatch and start it. // Create a stopwatch and start it.
#ifdef R__UNIX #ifdef R__UNIX
if (gTicks > 0) //if (!gTicks) gTicks = (Double_t)sysconf(_SC_CLK_TCK);
gTicks = (Double_t)sysconf(_SC_CLK_TCK); gTicks = (Double_t)sysconf(_SC_CLK_TCK);
#endif #endif
Start(); Start();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment