help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: profiler - can someone explain 'self'


From: Nicholas Jankowski
Subject: Re: profiler - can someone explain 'self'
Date: Mon, 13 Jul 2015 13:07:45 -0400

On Mon, Jul 13, 2015 at 12:15 PM, Philip Nienhuis <address@hidden> wrote:
NJank wrote
> <snip>
> on a separate line, what sort of things would be included under self?

Inferred from context I'd think it would be the overhead from the profiler?

Philip

No, I don't believe so. it corresponds to the run-time, whether the profiler is on or not.  I'm guessing it has to do with constructs within the function that don't call a subfunction, so if statements, for loops, etc., but excluding basic math, as *, -, and other binary operators get separate lines in the profile. I've used this before to see, for example, that I was doing certain multiplies a lot, and after doing the operation outside of the function, the multiply count went way down, and runtime was decreased, etc.  But there doesn't seem to be a way to further refine 'self' unless it's buried in the profiler data and could be cleaned from the output struct manually.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]