* fcgp understanding
@ 2001-07-31 8:19 alad
2001-08-05 4:19 ` Rusty Russell
0 siblings, 1 reply; 2+ messages in thread
From: alad @ 2001-07-31 8:19 UTC (permalink / raw)
To: linux-kernel
Hi,
Can somone please explain in brief -- How to read fcgp ( Free coding
graphical project) for a
particular file. One such map (for mmap.c) is at --
http://fcgp.sourceforge.net/images/mm_mmap.c.png
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: fcgp understanding
2001-07-31 8:19 fcgp understanding alad
@ 2001-08-05 4:19 ` Rusty Russell
0 siblings, 0 replies; 2+ messages in thread
From: Rusty Russell @ 2001-08-05 4:19 UTC (permalink / raw)
To: alad; +Cc: linux-kernel
In message <65256A9A.002DAB65.00@sandesh.hss.hns.com> you write:
> Hi,
> Can somone please explain in brief -- How to read fcgp ( Free coding
> graphical project) for a
> particular file. One such map (for mmap.c) is at --
> http://fcgp.sourceforge.net/images/mm_mmap.c.png
This is off-topic, but maybe one canonical answer will stop others.
The solid line (around the top and right edges) is a C file,
labelled on the bottom left. The dashed lines means a function,
labelled on the bottom left. Light green functions are file-local
(static). Red functions are exported to modules. Dark green
functions are called through a pointer. Other functions are blue.
Within each function, the circles are loops, the branches are
conditional statements (if, switch, ?:). The loops approximately
circle the code they loop around.
So, we can see that do_munmap looks like a loop around a whole
heap of little branchy code. Indeed, looking at the code in mm/mmap.c,
half the function is a loop.
Hope that helps,
Rusty.
--
Premature optmztion is rt of all evl. --DK
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-08-05 4:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-31 8:19 fcgp understanding alad
2001-08-05 4:19 ` Rusty Russell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).