monitor(lowpc
, highpc
, buf
, bufsiz
, cntsiz
)
o
= creat("mon.out", 0666);
o
= sizeof(struct phdr
) + cntsiz
*sizeof(struct cnt
);
buf
= (int *) (((int)buf
) + o
);
o
= ((highpc
- lowpc
)>>1);
o
= ((float) bufsiz
/ o
) * 32768;
profil(buf
, bufsiz
, lowpc
, o
);