I am looking at some old source code (circa 1994-1996) from a long-lost time a MUD gaming.
While I review the code-base, i noticed during the “startup” (opening ports and threading), it defines a Profile macro #define PROFILE(x)
.
Then during the port declaration, definition and attachment, it gets used three-times only through out all of the codebase.
PROFILE(extern etext();)
PROFILE(monstartup((int) 2, etext);)
PROFILE(monitor(0);)
I have looked through gcc and other documentation but have been unable to find any wisdom as to WTH is going on here with PROFILE
.
Any insight?