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 <annu...@yandex.ru>
To: Mahmood Naderan <nt_mahm...@yahoo.com>; 
"valgrind-users@lists.sourceforge.net" <valgrind-users@lists.sourceforge.net>
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_mahm...@yahoo.com>:
> 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


------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to