On Wed, Sep 17, 2008 at 18:29, Robert Kern <[EMAIL PROTECTED]> wrote: > On Wed, Sep 17, 2008 at 18:09, Ondrej Certik <[EMAIL PROTECTED]> wrote:
>> This is what I am getting: >> >> $ ./kernprof.py -l pystone.py >> Wrote profile results to pystone.py.lprof >> $ ./view_line_prof.py pystone.py.lprof >> Timer unit: 1e-06 s >> >> $ >> >> So I think you meant: >> >> $ ./kernprof.py -l mystone.py >> 20628 >> Wrote profile results to mystone.py.lprof >> $ ./view_line_prof.py mystone.py.lprof >> Timer unit: 1e-06 s >> >> File: pystone.py >> Function: Proc0 at line 79 >> Total time: 13.0803 s >> [...] >> >> Now it works. > > No, I meant pystone.py. My script-finding code may have (incorrectly) > found a different, uninstrumented pystone.py file somewhere else, > though. Try with "./pystone.py". There was a bug in how I was constructing the munged namespaces. Fixed now. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco _______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion