|
From: Mahmood N. <nt_...@ya...> - 2013-08-26 08:00:41
|
Thanks. To be honest, I didn't understand! It seems that with these macros, I can insert them in the specific section of the code. However my problem is different. There are iterative functions. So I want to start valgrind after, say, 0.5 hours of execution to see what is going on. Regards, Mahmood ----- Original Message ----- From: Konstantin Tokarev <an...@ya...> To: Mahmood Naderan <nt_...@ya...>; "val...@li..." <val...@li...> Cc: Sent: Monday, August 26, 2013 12:17 PM Subject: Re: [Valgrind-users] using valgrind at specific point while running program 26.08.2013, 11:45, "Mahmood Naderan" <nt_...@ya...>: > I want to use valrgind at a specific time while my program is running. For example, when I use -O3 it will take 0.5 hours to reach the desired point. When I use -g -ggdb it will take nearly 2.5 hours to reach the desired point. > > Now if I use valgrind with -g -ggdb, the program is extremely slow and I can not predict when it reach the desired point. > What should I do? Use client requests: http://valgrind.org/docs/manual/manual-core-adv.html -- Regards, Konstantin |