octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #39524] m-file profiler returning inaccurate f


From: Rik
Subject: [Octave-bug-tracker] [bug #39524] m-file profiler returning inaccurate first line
Date: Fri, 19 Jul 2013 06:21:00 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:22.0) Gecko/20100101 Firefox/22.0

URL:
  <http://savannah.gnu.org/bugs/?39524>

                 Summary: m-file profiler returning inaccurate first line
                 Project: GNU Octave
            Submitted by: rik5
            Submitted on: Thu 18 Jul 2013 11:20:59 PM PDT
                Category: Octave Function
                Severity: 4 - Important
                Priority: 5 - Normal
              Item Group: Regression
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

The profile command is producing an erroneous first line which dominates all
the other function calls.  The function has no name and is marked as
R(ecursive).  This is a regression from 3.6.4 where the profiler worked.

Sample code:


octave:5> profile clear
octave:6> profile on
octave:7> y = sind (30);
octave:8> profile off
octave:9> profshow (profile ('info'))
   #            Function Attr     Time (s)        Calls
-------------------------------------------------------
   1                        R        7.474           61
   2                sind             0.000            1
  13             profile             0.000            1
   3              nargin             0.000            2
   4           binary !=             0.000            2
   6                  pi             0.000            1
  14               false             0.000            1
   8                 sin             0.000            1
   9                 fix             0.000            1
  11            isfinite             0.000            1
  12            binary &             0.000            1
  10           binary ==             0.000            1
   5            binary /             0.000            1
   7           binary .*             0.000            1
  15 __profiler_enable__             0.000            1






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?39524>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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