• AVR Freaks

Hot!Code Profiling Function ID

Author
BumpSplat
Senior Member
  • Total Posts : 163
  • Reward points : 0
  • Joined: 2017/11/06 13:23:11
  • Location: Bend, OR
  • Status: offline
2019/05/21 16:17:28 (permalink)
0

Code Profiling Function ID

Does anyone know how to identify the function being described in the "Code Profiling Window"?  I see [ox9EDA0000] Func with all the desired data.  The only problem I'm having is knowing which function this is.
 
Thanks in advance,
 
Tim
#1

3 Replies Related Threads

    BumpSplat
    Senior Member
    • Total Posts : 163
    • Reward points : 0
    • Joined: 2017/11/06 13:23:11
    • Location: Bend, OR
    • Status: offline
    Re: Code Profiling Function ID 2019/05/23 11:55:16 (permalink)
    0
    So, this is clearly an address.  I decided to step back old school and insert delays to see which function was affected.  Trouble is, the addresses now change.  There must be a map file or something I can use to correlate the address and function call profiled in the window. I continue to work and hope someone knows something about how to use this feature, it sure is cool.
     
    Tim
    #2
    BumpSplat
    Senior Member
    • Total Posts : 163
    • Reward points : 0
    • Joined: 2017/11/06 13:23:11
    • Location: Bend, OR
    • Status: offline
    Re: Code Profiling Function ID 2019/05/23 14:16:32 (permalink)
    0
    Stole an I/O, toggles on entry and ext.  Placed another I/O change in the same location on all the major routines.  Change the I/O (to the scoped output) in the routine, measure the time, compare to the usage window, dang... it works but what a work around.  Each I/O R/W time is constant so swapping them doesn't effect the timing, just which signal is being looked at. 
     
    The routine address changes each iteration so even when you ID it, chasing it... Heisenberg here we come.  If anyone has something better for the future, I'm all ears.
     
    Tim
     
    #3
    qhb
    Superb Member
    • Total Posts : 9998
    • Reward points : 0
    • Joined: 2016/06/05 14:55:32
    • Location: One step ahead...
    • Status: offline
    Re: Code Profiling Function ID 2019/05/23 15:12:33 (permalink)
    0
    You have not mentioned which PIC device or compiler you are using.
     

    Nearly there...
    #4
    Jump to:
    © 2019 APG vNext Commercial Version 4.5