| 
 |  | 
#define MARK
#include <prof.h>
void MARK (name)
name may be any valid C identifier. Each name in a single compilation must be unique, but may be the same as any ordinary program symbol.
For marks to be effective, the symbol MARK
must be defined before the header file <prof.h>
is included.
This may be defined by a preprocessor directive as in the synopsis
or by a command line argument, that is:
cc -p -DMARK foo.c
If MARK is not defined, the MARK(name) statements may be left in the source files containing them and will be ignored.
   #include <prof.h>
   foo( )
   {
   	int i, j;
   	.
   	.
   	.
   	MARK(loop1);
   	for (i = 0; i < 2000; i++) {
   		. . .
   	}
   	MARK(loop2);
   	for (j = 0; j < 2000; j++) {
   		. . .
   	}
   }