in reply to NYTProf doesn't profile through a system or exec call
Not to be obtuse, but is there a reason you can't just profile scriptB independently? You could do this either by directly invoking it w/ perl -d:NYTProf scriptB, or if it needs internal parameters from the script, like
I'm pretty sure that you'll get erroneous results if you try to profile both simultaneously.@commands = qw( perl -d:NYTProf scriptB val1 val2 ); exec(@commands);
#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: NYTProf doesn't profile through a system or exec call
by moritz (Cardinal) on Oct 22, 2013 at 07:11 UTC |