Thank you for the pointer. Hadn't looked at that yet. The profiler 
extension is a start, but it only gives me the calls to the procedures, not 
what other procedures called that procedure, etc., in a graph. From your 
pointer, I found the Reflection-Extension, which looked like it produce 
what I want, but if I'm reading it correctly, I'd have to put calls to 
"reflection:procedure" and "reflection:callers" in each procedure. I was 
hoping for something more like a static analysis of the netlogo code.

Seth Tissue had posted code back in 2012 that got me started, and I had 
been looking at the procedures map that is returned. I can get a dump but 
don't see how I can just get the children's names (i.e., the callers). With 
the dump,  I can at least parse that to get what I'm looking for.

thanx
steve

On Tuesday, June 9, 2020 at 8:45:40 PM UTC-4, Forrest wrote:
>
> You might take a look at the profiler extension (or source code thereof), 
> if you haven't already...
>
> https://github.com/NetLogo/Profiler-Extension
>
> Cheers,
>
> Dr. Forrest Stonedahl
> Computer Science
> Augustana College
>
> On Tue, Jun 9, 2020, 11:39 AM Steve Upton <upto...@gmail.com <javascript:>> 
> wrote:
>
>> Hi All,
>>
>> Fairly new to Netlogo. We have a good sized model and would like to 
>> create a procedure call graph, i.e., for each procedure, identify what 
>> procedures it calls, and so forth. I've found a post on reflection and can 
>> get the procedures (as well as globals, turtles, breeds), so about to 
>> explore further, but wondered if this wasn't already available.
>>
>> thank you
>> steve upton
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "netlogo-devel" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to netlog...@googlegroups.com <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/netlogo-devel/4cbab5a6-b52a-48d5-87fa-e272397c4e7bo%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/netlogo-devel/4cbab5a6-b52a-48d5-87fa-e272397c4e7bo%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"netlogo-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to netlogo-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/netlogo-devel/e35605f1-2fa9-488c-9675-fa540073d462o%40googlegroups.com.

Reply via email to