|
|
1.1 root 1: #include "global.h"
2:
3: #define PBUFSZ 100000
4: short pbuf[PBUFSZ];
5:
6: /* data space for fasl to put counters */
7: int mcounts[NMCOUNT];
8: int mcountp = (int) mcounts;
9: int doprof = TRUE;
10:
11: lispval
12: Lmonitor()
13: {
14: extern etext, countbase;
15:
16: if (np==lbot) { monitor(0); countbase = 0; }
17: else if (TYPE(lbot->val)==INT)
18: { monitor(2, lbot->val->i, pbuf, 200000, 7000);
19: countbase = ((int)pbuf) +12;
20: }
21: else {
22: monitor(2, sbrk(0), pbuf, 200000, 7000);
23: countbase = ((int)pbuf) + 12; }
24: return(tatom);
25: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.