12 BLOCK DATA lookingornot
14 COMMON /lookingfbuf/looking
20 INTEGER*4 adbitbuf, adbitlbuf
21 INTEGER adbitibuf, adbitilbuf
23 COMMON /adbitfbuf/adbitbuf,adbitlbuf,
24 + adbitibuf,adbitilbuf,adbitinlbuf
29 DATA adbitinlbuf/.false./
36 INTEGER*4 adbitbuf, adbitlbuf
37 INTEGER adbitibuf, adbitilbuf
39 COMMON /adbitfbuf/adbitbuf,adbitlbuf,
40 + adbitibuf,adbitilbuf,adbitinlbuf
42 COMMON /lookingfbuf/looking
44 IF (adbitilbuf.ne.-1)
THEN 50 adbitbuf = ibset(adbitbuf, adbitibuf)
52 adbitbuf = ibclr(adbitbuf, adbitibuf)
54 IF (adbitibuf.ge.31)
THEN 59 adbitibuf = adbitibuf+1
64 INTEGER*4 adbitbuf, adbitlbuf
65 INTEGER adbitibuf, adbitilbuf
67 COMMON /adbitfbuf/adbitbuf,adbitlbuf,
68 + adbitibuf,adbitilbuf,adbitinlbuf
70 COMMON /lookingfbuf/looking
72 IF (adbitilbuf.eq.-1)
THEN 75 IF (.not.looking)
THEN 76 CALL resetadlookstack()
80 IF (adbitilbuf.le.0)
THEN 84 adbitilbuf = adbitilbuf-1
86 lookbit = btest(adbitlbuf, adbitilbuf)
90 INTEGER*4 adbitbuf, adbitlbuf
91 INTEGER adbitibuf, adbitilbuf
93 COMMON /adbitfbuf/adbitbuf,adbitlbuf,
94 + adbitibuf,adbitilbuf,adbitinlbuf
96 COMMON /lookingfbuf/looking
98 IF (adbitilbuf.ne.-1)
THEN 100 adbitinlbuf = .false.
103 IF (adbitibuf.le.0)
THEN 107 adbitibuf = adbitibuf-1
109 popbit = btest(adbitbuf, adbitibuf)
153 IF (popbit()) cc = ibset(cc,0)
164 IF (lookbit()) cc = ibset(cc,0)
182 IF (popbit()) cc = ibset(cc,1)
183 IF (popbit()) cc = ibset(cc,0)
194 IF (lookbit()) cc = ibset(cc,1)
195 IF (lookbit()) cc = ibset(cc,0)
214 IF (popbit()) cc = ibset(cc,2)
215 IF (popbit()) cc = ibset(cc,1)
216 IF (popbit()) cc = ibset(cc,0)
227 IF (lookbit()) cc = ibset(cc,2)
228 IF (lookbit()) cc = ibset(cc,1)
229 IF (lookbit()) cc = ibset(cc,0)
249 IF (popbit()) cc = ibset(cc,3)
250 IF (popbit()) cc = ibset(cc,2)
251 IF (popbit()) cc = ibset(cc,1)
252 IF (popbit()) cc = ibset(cc,0)
263 IF (lookbit()) cc = ibset(cc,3)
264 IF (lookbit()) cc = ibset(cc,2)
265 IF (lookbit()) cc = ibset(cc,1)
266 IF (lookbit()) cc = ibset(cc,0)
287 IF (popbit()) cc = ibset(cc,4)
288 IF (popbit()) cc = ibset(cc,3)
289 IF (popbit()) cc = ibset(cc,2)
290 IF (popbit()) cc = ibset(cc,1)
291 IF (popbit()) cc = ibset(cc,0)
302 IF (lookbit()) cc = ibset(cc,4)
303 IF (lookbit()) cc = ibset(cc,3)
304 IF (lookbit()) cc = ibset(cc,2)
305 IF (lookbit()) cc = ibset(cc,1)
306 IF (lookbit()) cc = ibset(cc,0)
333 IF (popbit()) cc = ibset(cc,7)
334 IF (popbit()) cc = ibset(cc,6)
335 IF (popbit()) cc = ibset(cc,5)
336 IF (popbit()) cc = ibset(cc,4)
337 IF (popbit()) cc = ibset(cc,3)
338 IF (popbit()) cc = ibset(cc,2)
339 IF (popbit()) cc = ibset(cc,1)
340 IF (popbit()) cc = ibset(cc,0)
351 IF (lookbit()) cc = ibset(cc,7)
352 IF (lookbit()) cc = ibset(cc,6)
353 IF (lookbit()) cc = ibset(cc,5)
354 IF (lookbit()) cc = ibset(cc,4)
355 IF (lookbit()) cc = ibset(cc,3)
356 IF (lookbit()) cc = ibset(cc,2)
357 IF (lookbit()) cc = ibset(cc,1)
358 IF (lookbit()) cc = ibset(cc,0)
379 BLOCK DATA characters
380 CHARACTER ads1buf(512), ads1lbuf(512)
381 INTEGER ads1ibuf,ads1ilbuf
383 COMMON /ads1fbuf/ads1buf,ads1lbuf,
384 + ads1ibuf,ads1ilbuf,ads1inlbuf
387 DATA ads1inlbuf/.false./
391 CHARACTER x, ads1buf(512), ads1lbuf(512)
392 INTEGER ads1ibuf,ads1ilbuf
394 COMMON /ads1fbuf/ads1buf,ads1lbuf,
395 + ads1ibuf,ads1ilbuf,ads1inlbuf
397 COMMON /lookingfbuf/looking
400 IF (ads1ilbuf.ne.-1)
THEN 405 IF (ads1ibuf.ge.512)
THEN 411 ads1buf(ads1ibuf) = x
412 ads1ibuf = ads1ibuf+1
417 CHARACTER x, ads1buf(512), ads1lbuf(512)
418 INTEGER ads1ibuf,ads1ilbuf
420 COMMON /ads1fbuf/ads1buf,ads1lbuf,
421 + ads1ibuf,ads1ilbuf,ads1inlbuf
423 COMMON /lookingfbuf/looking
425 IF (ads1ilbuf.eq.-1)
THEN 427 IF (.not.looking)
THEN 428 CALL resetadlookstack()
432 IF (ads1ilbuf.le.1)
THEN 438 ads1ilbuf = ads1ilbuf-1
440 x = ads1lbuf(ads1ilbuf)
442 x = ads1buf(ads1ilbuf)
448 CHARACTER x, ads1buf(512), ads1lbuf(512)
449 INTEGER ads1ibuf,ads1ilbuf
451 COMMON /ads1fbuf/ads1buf,ads1lbuf,
452 + ads1ibuf,ads1ilbuf,ads1inlbuf
454 COMMON /lookingfbuf/looking
456 IF (ads1ilbuf.ne.-1)
THEN 461 IF (ads1ibuf.le.1)
THEN 466 ads1ibuf = ads1ibuf-1
467 x = ads1buf(ads1ibuf)
473 INTEGER*4 adi4buf(512), adi4lbuf(512)
474 INTEGER adi4ibuf,adi4ilbuf
476 COMMON /adi4fbuf/adi4buf,adi4lbuf,
477 + adi4ibuf,adi4ilbuf,adi4inlbuf
480 DATA adi4inlbuf/.false./
484 INTEGER*4 x, adi4buf(512), adi4lbuf(512)
485 INTEGER adi4ibuf,adi4ilbuf
487 COMMON /adi4fbuf/adi4buf,adi4lbuf,
488 + adi4ibuf,adi4ilbuf,adi4inlbuf
490 COMMON /lookingfbuf/looking
493 IF (adi4ilbuf.ne.-1)
THEN 498 IF (adi4ibuf.ge.512)
THEN 504 adi4buf(adi4ibuf) = x
505 adi4ibuf = adi4ibuf+1
510 INTEGER*4 x, adi4buf(512), adi4lbuf(512)
511 INTEGER adi4ibuf,adi4ilbuf
513 COMMON /adi4fbuf/adi4buf,adi4lbuf,
514 + adi4ibuf,adi4ilbuf,adi4inlbuf
516 COMMON /lookingfbuf/looking
518 IF (adi4ilbuf.eq.-1)
THEN 520 IF (.not.looking)
THEN 521 CALL resetadlookstack()
525 IF (adi4ilbuf.le.1)
THEN 531 adi4ilbuf = adi4ilbuf-1
533 x = adi4lbuf(adi4ilbuf)
535 x = adi4buf(adi4ilbuf)
541 INTEGER*4 x, adi4buf(512), adi4lbuf(512)
542 INTEGER adi4ibuf,adi4ilbuf
544 COMMON /adi4fbuf/adi4buf,adi4lbuf,
545 + adi4ibuf,adi4ilbuf,adi4inlbuf
547 COMMON /lookingfbuf/looking
549 IF (adi4ilbuf.ne.-1)
THEN 554 IF (adi4ibuf.le.1)
THEN 559 adi4ibuf = adi4ibuf-1
560 x = adi4buf(adi4ibuf)
566 INTEGER*8 adi8buf(512), adi8lbuf(512)
567 INTEGER adi8ibuf,adi8ilbuf
569 COMMON /adi8fbuf/adi8buf,adi8lbuf,
570 + adi8ibuf,adi8ilbuf,adi8inlbuf
573 DATA adi8inlbuf/.false./
577 INTEGER*8 x, adi8buf(512), adi8lbuf(512)
578 INTEGER adi8ibuf,adi8ilbuf
580 COMMON /adi8fbuf/adi8buf,adi8lbuf,
581 + adi8ibuf,adi8ilbuf,adi8inlbuf
583 COMMON /lookingfbuf/looking
586 IF (adi8ilbuf.ne.-1)
THEN 591 IF (adi8ibuf.ge.512)
THEN 597 adi8buf(adi8ibuf) = x
598 adi8ibuf = adi8ibuf+1
603 INTEGER*8 x, adi8buf(512), adi8lbuf(512)
604 INTEGER adi8ibuf,adi8ilbuf
606 COMMON /adi8fbuf/adi8buf,adi8lbuf,
607 + adi8ibuf,adi8ilbuf,adi8inlbuf
609 COMMON /lookingfbuf/looking
611 IF (adi8ilbuf.eq.-1)
THEN 613 IF (.not.looking)
THEN 614 CALL resetadlookstack()
618 IF (adi8ilbuf.le.1)
THEN 624 adi8ilbuf = adi8ilbuf-1
626 x = adi8lbuf(adi8ilbuf)
628 x = adi8buf(adi8ilbuf)
634 INTEGER*8 x, adi8buf(512), adi8lbuf(512)
635 INTEGER adi8ibuf,adi8ilbuf
637 COMMON /adi8fbuf/adi8buf,adi8lbuf,
638 + adi8ibuf,adi8ilbuf,adi8inlbuf
640 COMMON /lookingfbuf/looking
642 IF (adi8ilbuf.ne.-1)
THEN 647 IF (adi8ibuf.le.1)
THEN 652 adi8ibuf = adi8ibuf-1
653 x = adi8buf(adi8ibuf)
659 REAL*4 adr4buf(512), adr4lbuf(512)
660 INTEGER adr4ibuf,adr4ilbuf
662 COMMON /adr4fbuf/adr4buf,adr4lbuf,
663 + adr4ibuf,adr4ilbuf,adr4inlbuf
666 DATA adr4inlbuf/.false./
670 REAL*4 x, adr4buf(512), adr4lbuf(512)
671 INTEGER adr4ibuf,adr4ilbuf
673 COMMON /adr4fbuf/adr4buf,adr4lbuf,
674 + adr4ibuf,adr4ilbuf,adr4inlbuf
676 COMMON /lookingfbuf/looking
679 IF (adr4ilbuf.ne.-1)
THEN 684 IF (adr4ibuf.ge.512)
THEN 690 adr4buf(adr4ibuf) = x
691 adr4ibuf = adr4ibuf+1
696 REAL*4 x, adr4buf(512), adr4lbuf(512)
697 INTEGER adr4ibuf,adr4ilbuf
699 COMMON /adr4fbuf/adr4buf,adr4lbuf,
700 + adr4ibuf,adr4ilbuf,adr4inlbuf
702 COMMON /lookingfbuf/looking
704 IF (adr4ilbuf.eq.-1)
THEN 706 IF (.not.looking)
THEN 707 CALL resetadlookstack()
711 IF (adr4ilbuf.le.1)
THEN 717 adr4ilbuf = adr4ilbuf-1
719 x = adr4lbuf(adr4ilbuf)
721 x = adr4buf(adr4ilbuf)
727 REAL*4 x, adr4buf(512), adr4lbuf(512)
728 INTEGER adr4ibuf,adr4ilbuf
730 COMMON /adr4fbuf/adr4buf,adr4lbuf,
731 + adr4ibuf,adr4ilbuf,adr4inlbuf
733 COMMON /lookingfbuf/looking
735 IF (adr4ilbuf.ne.-1)
THEN 740 IF (adr4ibuf.le.1)
THEN 745 adr4ibuf = adr4ibuf-1
746 x = adr4buf(adr4ibuf)
752 REAL*8 adr8buf(512), adr8lbuf(512)
753 INTEGER adr8ibuf,adr8ilbuf
755 COMMON /adr8fbuf/adr8buf,adr8lbuf,
756 + adr8ibuf,adr8ilbuf,adr8inlbuf
759 DATA adr8inlbuf/.false./
763 REAL*8 x, adr8buf(512), adr8lbuf(512)
764 INTEGER adr8ibuf,adr8ilbuf
766 COMMON /adr8fbuf/adr8buf,adr8lbuf,
767 + adr8ibuf,adr8ilbuf,adr8inlbuf
769 COMMON /lookingfbuf/looking
772 IF (adr8ilbuf.ne.-1)
THEN 777 IF (adr8ibuf.ge.512)
THEN 783 adr8buf(adr8ibuf) = x
784 adr8ibuf = adr8ibuf+1
789 REAL*8 x, adr8buf(512), adr8lbuf(512)
790 INTEGER adr8ibuf,adr8ilbuf
792 COMMON /adr8fbuf/adr8buf,adr8lbuf,
793 + adr8ibuf,adr8ilbuf,adr8inlbuf
795 COMMON /lookingfbuf/looking
797 IF (adr8ilbuf.eq.-1)
THEN 799 IF (.not.looking)
THEN 800 CALL resetadlookstack()
804 IF (adr8ilbuf.le.1)
THEN 810 adr8ilbuf = adr8ilbuf-1
812 x = adr8lbuf(adr8ilbuf)
814 x = adr8buf(adr8ilbuf)
820 REAL*8 x, adr8buf(512), adr8lbuf(512)
821 INTEGER adr8ibuf,adr8ilbuf
823 COMMON /adr8fbuf/adr8buf,adr8lbuf,
824 + adr8ibuf,adr8ilbuf,adr8inlbuf
826 COMMON /lookingfbuf/looking
828 IF (adr8ilbuf.ne.-1)
THEN 833 IF (adr8ibuf.le.1)
THEN 838 adr8ibuf = adr8ibuf-1
839 x = adr8buf(adr8ibuf)
845 COMPLEX*8 adc8buf(512), adc8lbuf(512)
846 INTEGER adc8ibuf,adc8ilbuf
848 COMMON /adc8fbuf/adc8buf,adc8lbuf,
849 + adc8ibuf,adc8ilbuf,adc8inlbuf
852 DATA adc8inlbuf/.false./
856 COMPLEX*8 x, adc8buf(512), adc8lbuf(512)
857 INTEGER adc8ibuf,adc8ilbuf
859 COMMON /adc8fbuf/adc8buf,adc8lbuf,
860 + adc8ibuf,adc8ilbuf,adc8inlbuf
862 COMMON /lookingfbuf/looking
865 IF (adc8ilbuf.ne.-1)
THEN 870 IF (adc8ibuf.ge.512)
THEN 876 adc8buf(adc8ibuf) = x
877 adc8ibuf = adc8ibuf+1
882 COMPLEX*8 x, adc8buf(512), adc8lbuf(512)
883 INTEGER adc8ibuf,adc8ilbuf
885 COMMON /adc8fbuf/adc8buf,adc8lbuf,
886 + adc8ibuf,adc8ilbuf,adc8inlbuf
888 COMMON /lookingfbuf/looking
890 IF (adc8ilbuf.eq.-1)
THEN 892 IF (.not.looking)
THEN 893 CALL resetadlookstack()
897 IF (adc8ilbuf.le.1)
THEN 903 adc8ilbuf = adc8ilbuf-1
905 x = adc8lbuf(adc8ilbuf)
907 x = adc8buf(adc8ilbuf)
913 COMPLEX*8 x, adc8buf(512), adc8lbuf(512)
914 INTEGER adc8ibuf,adc8ilbuf
916 COMMON /adc8fbuf/adc8buf,adc8lbuf,
917 + adc8ibuf,adc8ilbuf,adc8inlbuf
919 COMMON /lookingfbuf/looking
921 IF (adc8ilbuf.ne.-1)
THEN 926 IF (adc8ibuf.le.1)
THEN 931 adc8ibuf = adc8ibuf-1
932 x = adc8buf(adc8ibuf)
937 BLOCK DATA complexs16
938 COMPLEX*16 adc16buf(512), adc16lbuf(512)
939 INTEGER adc16ibuf,adc16ilbuf
941 COMMON /adc16fbuf/adc16buf,adc16lbuf,
942 + adc16ibuf,adc16ilbuf,adc16inlbuf
945 DATA adc16inlbuf/.false./
949 COMPLEX*16 x, adc16buf(512), adc16lbuf(512)
950 INTEGER adc16ibuf,adc16ilbuf
952 COMMON /adc16fbuf/adc16buf,adc16lbuf,
953 + adc16ibuf,adc16ilbuf,adc16inlbuf
955 COMMON /lookingfbuf/looking
958 IF (adc16ilbuf.ne.-1)
THEN 960 adc16inlbuf = .false.
963 IF (adc16ibuf.ge.512)
THEN 969 adc16buf(adc16ibuf) = x
970 adc16ibuf = adc16ibuf+1
975 COMPLEX*16 x, adc16buf(512), adc16lbuf(512)
976 INTEGER adc16ibuf,adc16ilbuf
978 COMMON /adc16fbuf/adc16buf,adc16lbuf,
979 + adc16ibuf,adc16ilbuf,adc16inlbuf
981 COMMON /lookingfbuf/looking
983 IF (adc16ilbuf.eq.-1)
THEN 985 IF (.not.looking)
THEN 986 CALL resetadlookstack()
990 IF (adc16ilbuf.le.1)
THEN 996 adc16ilbuf = adc16ilbuf-1
997 if (adc16inlbuf)
THEN 998 x = adc16lbuf(adc16ilbuf)
1000 x = adc16buf(adc16ilbuf)
1006 COMPLEX*16 x, adc16buf(512), adc16lbuf(512)
1007 INTEGER adc16ibuf,adc16ilbuf
1009 COMMON /adc16fbuf/adc16buf,adc16lbuf,
1010 + adc16ibuf,adc16ilbuf,adc16inlbuf
1012 COMMON /lookingfbuf/looking
1014 IF (adc16ilbuf.ne.-1)
THEN 1016 adc16inlbuf = .false.
1019 IF (adc16ibuf.le.1)
THEN 1024 adc16ibuf = adc16ibuf-1
1025 x = adc16buf(adc16ibuf)
1031 BLOCK DATA memtraffic
1032 INTEGER*8 mmftraffic,mmftrafficM
1033 COMMON /mmcomtraffic/mmftraffic,mmftrafficm
1040 INTEGER*8 mmftraffic,mmftrafficM
1041 COMMON /mmcomtraffic/mmftraffic,mmftrafficm
1043 mmftraffic = mmftraffic+n
1044 if (mmftraffic.ge.1000000)
then 1045 100 mmftraffic = mmftraffic-1000000
1046 mmftrafficm = mmftrafficm+1
1047 if (mmftraffic.ge.1000000)
then 1052 else if (mmftraffic.lt.0)
then 1053 200 mmftraffic = mmftraffic+1000000
1054 mmftrafficm = mmftrafficm-1
1055 if (mmftraffic.lt.0)
then 1065 INTEGER*8 mmftraffic,mmftrafficM
1066 COMMON /mmcomtraffic/mmftraffic,mmftrafficm
1067 CALL printctraffic()
1068 CALL printftrafficinc(mmftrafficm, 1000000, mmftraffic)
1069 CALL printtotaltraffic(mmftrafficm, 1000000, mmftraffic)
1078 integer*4 SMALLSTACKSIZE
1081 size = smallstacksize()
1082 print *,
'Buffer size:',
size,
' bytes i.e. ',size/1024.0,
' Kbytes' 1086 CHARACTER ads1buf(512), ads1lbuf(512)
1087 INTEGER ads1ibuf,ads1ilbuf
1089 COMMON /ads1fbuf/ads1buf,ads1lbuf,
1090 + ads1ibuf,ads1ilbuf,ads1inlbuf
1096 INTEGER*4 adi4buf(512), adi4lbuf(512)
1097 INTEGER adi4ibuf,adi4ilbuf
1099 COMMON /adi4fbuf/adi4buf,adi4lbuf,
1100 + adi4ibuf,adi4ilbuf,adi4inlbuf
1101 INTEGER*8 adi8buf(512), adi8lbuf(512)
1102 INTEGER adi8ibuf,adi8ilbuf
1104 COMMON /adi8fbuf/adi8buf,adi8lbuf,
1105 + adi8ibuf,adi8ilbuf,adi8inlbuf
1111 REAL*4 adr4buf(512), adr4lbuf(512)
1112 INTEGER adr4ibuf,adr4ilbuf
1114 COMMON /adr4fbuf/adr4buf,adr4lbuf,
1115 + adr4ibuf,adr4ilbuf,adr4inlbuf
1116 REAL*8 adr8buf(512), adr8lbuf(512)
1117 INTEGER adr8ibuf,adr8ilbuf
1119 COMMON /adr8fbuf/adr8buf,adr8lbuf,
1120 + adr8ibuf,adr8ilbuf,adr8inlbuf
1136 COMPLEX*8 adc8buf(512), adc8lbuf(512)
1137 INTEGER adc8ibuf,adc8ilbuf
1139 COMMON /adc8fbuf/adc8buf,adc8lbuf,
1140 + adc8ibuf,adc8ilbuf,adc8inlbuf
1141 COMPLEX*16 adc16buf(512), adc16lbuf(512)
1142 INTEGER adc16ibuf,adc16ilbuf
1144 COMMON /adc16fbuf/adc16buf,adc16lbuf,
1145 + adc16ibuf,adc16ilbuf,adc16inlbuf
1173 CHARACTER ads1buf(512), ads1lbuf(512)
1174 INTEGER ads1ibuf,ads1ilbuf
1176 COMMON /ads1fbuf/ads1buf,ads1lbuf,
1177 + ads1ibuf,ads1ilbuf,ads1inlbuf
1183 INTEGER*4 adi4buf(512), adi4lbuf(512)
1184 INTEGER adi4ibuf,adi4ilbuf
1186 COMMON /adi4fbuf/adi4buf,adi4lbuf,
1187 + adi4ibuf,adi4ilbuf,adi4inlbuf
1188 INTEGER*8 adi8buf(512), adi8lbuf(512)
1189 INTEGER adi8ibuf,adi8ilbuf
1191 COMMON /adi8fbuf/adi8buf,adi8lbuf,
1192 + adi8ibuf,adi8ilbuf,adi8inlbuf
1198 REAL*4 adr4buf(512), adr4lbuf(512)
1199 INTEGER adr4ibuf,adr4ilbuf
1201 COMMON /adr4fbuf/adr4buf,adr4lbuf,
1202 + adr4ibuf,adr4ilbuf,adr4inlbuf
1203 REAL*8 adr8buf(512), adr8lbuf(512)
1204 INTEGER adr8ibuf,adr8ilbuf
1206 COMMON /adr8fbuf/adr8buf,adr8lbuf,
1207 + adr8ibuf,adr8ilbuf,adr8inlbuf
1223 COMPLEX*8 adc8buf(512), adc8lbuf(512)
1224 INTEGER adc8ibuf,adc8ilbuf
1226 COMMON /adc8fbuf/adc8buf,adc8lbuf,
1227 + adc8ibuf,adc8ilbuf,adc8inlbuf
1228 COMPLEX*16 adc16buf(512), adc16lbuf(512)
1229 INTEGER adc16ibuf,adc16ilbuf
1231 COMMON /adc16fbuf/adc16buf,adc16lbuf,
1232 + adc16ibuf,adc16ilbuf,adc16inlbuf
1238 integer*4 bsize,lookbsize
1239 integer*4 cblocks, csize, lookcblocks, lookcsize
1241 call getbigcsizes(cblocks,csize,lookcblocks,lookcsize)
1242 write (6,
'(a,i8,a,i5,a,i8,a,i5,a)')
1243 +
'MAIN C stack size :',cblocks,
'B +',csize,
1244 +
' bytes (looking:',lookcblocks,
'B +',lookcsize,
')' 1245 bsize = (ads1ibuf-1)*1
1247 if (ads1inlbuf.or.ads1ilbuf.gt.-1) lookbsize=(ads1ilbuf-1)*1
1248 write (6,
'(a,i4,a,i4,a)')
' plus CHARs :',bsize,
1249 +
' bytes (looking:',lookbsize,
')' 1251 bsize = (adi4ibuf-1)*4
1253 if (adi4inlbuf.or.adi4ilbuf.gt.-1) lookbsize=(adi4ilbuf-1)*4
1254 write (6,
'(a,i4,a,i4,a)')
' plus INTs4 :',bsize,
1255 +
' bytes (looking:',lookbsize,
')' 1256 bsize = (adi8ibuf-1)*8
1258 if (adi8inlbuf.or.adi8ilbuf.gt.-1) lookbsize=(adi8ilbuf-1)*8
1259 write (6,
'(a,i4,a,i4,a)')
' plus INTs8 :',bsize,
1260 +
' bytes (looking:',lookbsize,
')' 1262 bsize = (adr4ibuf-1)*4
1264 if (adr4inlbuf.or.adr4ilbuf.gt.-1) lookbsize=(adr4ilbuf-1)*4
1265 write (6,
'(a,i4,a,i4,a)')
' plus REALs4 :',bsize,
1266 +
' bytes (looking:',lookbsize,
')' 1267 bsize = (adr8ibuf-1)*8
1269 if (adr8inlbuf.or.adr8ilbuf.gt.-1) lookbsize=(adr8ilbuf-1)*8
1270 write (6,
'(a,i4,a,i4,a)')
' plus REALs8 :',bsize,
1271 +
' bytes (looking:',lookbsize,
')' 1279 bsize = (adc8ibuf-1)*8
1281 if (adc8inlbuf.or.adc8ilbuf.gt.-1) lookbsize=(adc8ilbuf-1)*8
1282 write (6,
'(a,i4,a,i4,a)')
' plus CPLXs8 :',bsize,
1283 +
' bytes (looking:',lookbsize,
')' 1284 bsize = (adc16ibuf-1)*16
1286 if (adc16inlbuf.or.adc16ilbuf.gt.-1) lookbsize=(adc16ilbuf-1)*16
1287 write (6,
'(a,i4,a,i4,a)')
' plus CPLXs16 :',bsize,
1288 +
' bytes (looking:',lookbsize,
')' 1295 INTEGER*4 adbitbuf, adbitlbuf
1296 INTEGER adbitibuf, adbitilbuf
1298 COMMON /adbitfbuf/adbitbuf,adbitlbuf,
1299 + adbitibuf,adbitilbuf,adbitinlbuf
1300 CHARACTER ads1buf(512), ads1lbuf(512)
1301 INTEGER ads1ibuf,ads1ilbuf
1303 COMMON /ads1fbuf/ads1buf,ads1lbuf,
1304 + ads1ibuf,ads1ilbuf,ads1inlbuf
1305 INTEGER*4 adi4buf(512), adi4lbuf(512)
1306 INTEGER adi4ibuf,adi4ilbuf
1308 COMMON /adi4fbuf/adi4buf,adi4lbuf,
1309 + adi4ibuf,adi4ilbuf,adi4inlbuf
1310 INTEGER*8 adi8buf(512), adi8lbuf(512)
1311 INTEGER adi8ibuf,adi8ilbuf
1313 COMMON /adi8fbuf/adi8buf,adi8lbuf,
1314 + adi8ibuf,adi8ilbuf,adi8inlbuf
1315 REAL*4 adr4buf(512), adr4lbuf(512)
1316 INTEGER adr4ibuf,adr4ilbuf
1318 COMMON /adr4fbuf/adr4buf,adr4lbuf,
1319 + adr4ibuf,adr4ilbuf,adr4inlbuf
1320 REAL*8 adr8buf(512), adr8lbuf(512)
1321 INTEGER adr8ibuf,adr8ilbuf
1323 COMMON /adr8fbuf/adr8buf,adr8lbuf,
1324 + adr8ibuf,adr8ilbuf,adr8inlbuf
1330 COMPLEX*8 adc8buf(512), adc8lbuf(512)
1331 INTEGER adc8ibuf,adc8ilbuf
1333 COMMON /adc8fbuf/adc8buf,adc8lbuf,
1334 + adc8ibuf,adc8ilbuf,adc8inlbuf
1335 COMPLEX*16 adc16buf(512), adc16lbuf(512)
1336 INTEGER adc16ibuf,adc16ilbuf
1338 COMMON /adc16fbuf/adc16buf,adc16lbuf,
1339 + adc16ibuf,adc16ilbuf,adc16inlbuf
1342 write (6,1010)
'BIT STACK : ',adbitbuf,
'==',adbitbuf,
1343 +
' (',adbitibuf,
')' 1344 1010
format(a,i20,a,z16,a,i2,a)
1345 write (6,1011)
'INTEGER*8 BUFFER[',adi8ibuf-1,
']: ',
1346 + (adi8buf(i),i=1,adi8ibuf-1)
1347 write (6,1011)
'INTEGER*4 BUFFER[',adi4ibuf-1,
']: ',
1348 + (adi4buf(i),i=1,adi4ibuf-1)
1349 1011
format(a,i3,a,512(i40))
1352 write (6,1012)
'REAL*8 BUFFER:[',adr8ibuf-1,
']: ',
1353 + (adr8buf(i),i=1,adr8ibuf-1)
1354 write (6,1012)
'REAL*4 BUFFER:[',adr4ibuf-1,
']: ',
1355 + (adr4buf(i),i=1,adr4ibuf-1)
1356 1012
format(a,i3,a,512(e8.2))
1357 call showrecentcstack()
subroutine pushcontrol5b(cc)
subroutine popinteger4(x)
logical function popbit()
subroutine popcharacter(x)
subroutine popcontrol2b(cc)
subroutine lookcontrol4b(cc)
void popinteger4array(int *x, int n)
void popreal8array(double *x, int n)
void lookcomplex16array(void *x, int n)
subroutine popcomplex16(x)
subroutine lookcontrol2b(cc)
subroutine pushcomplex16(x)
subroutine lookinteger4(x)
void lookcharacterarray(char *x, int n)
void pushcharacterarray(char *x, int n)
void lookinteger4array(int *x, int n)
subroutine pushcontrol1b(cc)
subroutine lookcontrol9b(cc)
void pushinteger4array(int *x, int n)
subroutine pushcontrol2b(cc)
void lookreal8array(double *x, int n)
subroutine showallstacks()
subroutine lookcontrol5b(cc)
subroutine lookcontrol3b(cc)
integer *4 function smallstacksize()
subroutine lookboolean(x)
void pushreal8array(double *x, int n)
subroutine lookcontrol1b(cc)
subroutine printallbuffers()
void popinteger8array(long int *x, int n)
subroutine pushinteger8(x)
void pushreal4array(float *x, int n)
subroutine popcontrol6b(cc)
void popcomplex16array(void *x, int n)
logical function lookbit()
void lookcomplex8array(void *x, int n)
subroutine lookcomplex8(x)
subroutine popcontrol5b(cc)
subroutine lookcontrol6b(cc)
subroutine popcomplex8(x)
subroutine printtraffic()
subroutine popcontrol3b(cc)
subroutine pushboolean(x)
subroutine addftraffic(n)
subroutine printbuffertop()
void pushcomplex16array(void *x, int n)
subroutine popcontrol1b(cc)
subroutine lookcomplex16(x)
void pushinteger8array(long int *x, int n)
subroutine popcontrol4b(cc)
void pushcomplex8array(void *x, int n)
void lookinteger8array(long int *x, int n)
subroutine popinteger8(x)
subroutine pushcontrol4b(cc)
subroutine lookinteger8(x)
subroutine lookcharacter(x)
subroutine pushcontrol9b(cc)
subroutine pushcontrol3b(cc)
void lookreal4array(float *x, int n)
subroutine popcontrol9b(cc)
void popcharacterarray(char *x, int n)
subroutine pushcharacter(x)
subroutine pushcomplex8(x)
void popcomplex8array(void *x, int n)
void popreal4array(float *x, int n)
subroutine pushinteger4(x)
subroutine pushcontrol6b(cc)