home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / lifeos2.zip / LIFE-1.02 / TESTS / REFOUT / TESTPROF.REF < prev    next >
Text File  |  1996-06-04  |  10KB  |  387 lines

  1.  
  2. Type 'profile_help ?' to get some help about the profiler
  3.  
  4.  
  5. *** Yes
  6. > > > > > > > > > Profile : Added profiling code to predicate 'verif' at goal level
  7. Profile : Added profiling code to predicate 'app' at goal level
  8. Profile : Added profiling code to predicate 'testapp' at goal level
  9. Profile : Added profiling code to function 'f' at goal level
  10. Profile : Added profiling code to function 'g' at goal level
  11. Profile : Added profiling code to function 'h' at goal level
  12.  
  13. *** Yes
  14. --1> 
  15. *** No
  16. > > > > > testapp
  17. []
  18. [1,2,3]
  19. [1]
  20. [2,3]
  21. [1,2]
  22. [3]
  23. [1,2,3]
  24. []
  25. failure !
  26.  
  27. *** No
  28. > > 
  29. Profiling statistics for predicates :
  30. -----------------------------------
  31.  
  32.   *Tries*    Entries    Success   %Tot.fail %Expl.fail   predicates
  33.      4         ---        10        100          0       app
  34.      1         ---         0        100        100       testapp
  35.  
  36.   *Tries*    Entries    Success   %Tot.fail %Expl.fail   predicates
  37.      4          4          4        100          0       app#1
  38.      4          3          6        100          0       app#2
  39.      1          1          0        100        100       testapp#1
  40.      1          1          0        100        100       testapp#2
  41.      0          0          0         ---        ---      testapp#3
  42.  
  43.    Tries    *Entries*   Success   %Tot.fail %Expl.fail   predicates
  44.      4          4          4        100          0       app#1
  45.      4          3          6        100          0       app#2
  46.      1          1          0        100        100       testapp#1
  47.      1          1          0        100        100       testapp#2
  48.      0          0          0         ---        ---      testapp#3
  49.  
  50.    Tries     Entries   *Success*  %Tot.fail %Expl.fail   predicates
  51.      4          3          6        100          0       app#2
  52.      4          4          4        100          0       app#1
  53.      1          1          0        100        100       testapp#1
  54.      1          1          0        100        100       testapp#2
  55.      0          0          0         ---        ---      testapp#3
  56.  
  57.  
  58. *** Yes
  59. > > 
  60. *** Yes
  61. A = [], B = [1,2,3].
  62. --1> 
  63. *** Yes
  64. A = [1], B = [2,3].
  65. --1> 
  66. *** Yes
  67. A = [1,2], B = [3].
  68. --1> 
  69. *** Yes
  70. A = [1,2,3], B = [].
  71. --1> 
  72. *** No
  73. > > 
  74. *** No
  75. > > 
  76. Profiling statistics for predicates :
  77. -----------------------------------
  78.  
  79.   *Tries*    Entries    Success   %Tot.fail %Expl.fail   predicates
  80.      9         ---        20        100        11.11     app
  81.  
  82.   *Tries*    Entries    Success   %Tot.fail %Expl.fail   predicates
  83.      9          8          8        100          0       app#1
  84.      9          6         12        100          0       app#2
  85.  
  86.    Tries    *Entries*   Success   %Tot.fail %Expl.fail   predicates
  87.      9          8          8        100          0       app#1
  88.      9          6         12        100          0       app#2
  89.  
  90.    Tries     Entries   *Success*  %Tot.fail %Expl.fail   predicates
  91.      9          6         12        100          0       app#2
  92.      9          8          8        100          0       app#1
  93.  
  94.  
  95. *** Yes
  96. > > 
  97. *** Yes
  98. > > that's true
  99.  
  100. *** Yes
  101. --1> 
  102. *** No
  103. *** Yes
  104. --1> 
  105. *** No
  106. Profiling statistics for predicates :
  107. -----------------------------------
  108.  
  109. Profile statistics for predicate 'verif' :
  110. ----------------------------------------
  111. + Number of tries : 2
  112. + Number of explicit failures : 0
  113. + Total number of failures : 0
  114. + Number of successes : 2
  115. + Success rate : 100 %
  116.  
  117. CLAUSE #1 :
  118. ----------------------------------------
  119. + Number of tries : 2
  120. + Number of explicit failures : 0
  121. + Total number of failures : 0
  122. + Number of head unifications : 2
  123. + Number of successes : 2
  124. + Success rate : 100 %
  125.  
  126. Statistics for the goals :
  127. ----------------------------------------
  128. | G#1 <CONDITION> Tries: 2, Successes: 2
  129. | <CONDITION SATISFIED> Tries: 1, Successes: 1
  130. | | G#1 <CALL> Tries: 1, Successes: 1
  131. | | G#2 <CALL> Tries: 1, Successes: 1
  132. | <CONDITION NOT SATISFIED> Tries: 0, Successes: 0
  133. | | G#1 <CALL> Tries: 0, Successes: 0
  134. | | G#2 <CALL> Tries: 0, Successes: 0
  135.  
  136.  
  137.  
  138. **************************************************
  139.  
  140.  
  141.  
  142.  
  143. *** Yes
  144. > > > > > > 
  145. *** No
  146. > > 
  147. *** Yes
  148. X = "+rien+".
  149. --1> 
  150. *** No
  151. *** No
  152. > > 
  153. *** No
  154. > > 
  155. *** Yes
  156. X = "zero".
  157. --1> 
  158. *** No
  159. *** Yes
  160. X = "<> 0".
  161. --1> 
  162. *** No
  163. *** No
  164. > > 
  165. Profiling statistics for functions :
  166. ----------------------------------
  167.  
  168.   *Tries*     Match      %Eval    Successes  %Tot.fail   functions
  169.      4         ---        ---         2         50       g
  170.      3         ---        ---         1        66.66     f
  171.  
  172.    Tries     *Match*     %Eval    Successes  %Tot.fail   functions
  173.     ---         1        100          1          0       f#1
  174.     ---         1        100          0        100       f#2
  175.     ---         2        100          2          0       g#2
  176.     ---         1          0          0        100       g#1
  177.  
  178.  
  179. *** Yes
  180. > > 
  181. *** Yes
  182. X = 4.
  183. --1> 
  184. *** No
  185. *** Yes
  186. X = "rien+++".
  187. --1> 
  188. *** No
  189. *** No
  190. > > 
  191. Profiling statistics for functions :
  192. ----------------------------------
  193.  
  194.   *Tries*     Match      %Eval    Successes  %Tot.fail   functions
  195.      4         ---        ---         2         50       g
  196.      3         ---        ---         1        66.66     f
  197.      3         ---        ---         2        33.33     h
  198.  
  199.    Tries     *Match*     %Eval    Successes  %Tot.fail   functions
  200.     ---         1        100          1          0       f#1
  201.     ---         1        100          0        100       f#2
  202.     ---         2        100          2          0       g#2
  203.     ---         1          0          0        100       g#1
  204.     ---         1        100          1          0       h#1
  205.     ---         1        100          1          0       h#2
  206.  
  207.  
  208. *** Yes
  209. > > > > > > Profile : Added profiling code to predicate 'app' at clause level
  210.  
  211. *** Yes
  212. --1> 
  213. *** No
  214. *** No
  215. > > 
  216. *** Yes
  217. A = [1,2,3].
  218. --1> 
  219. *** No
  220. Profiling statistics for predicates :
  221. -----------------------------------
  222.  
  223.   *Tries*    Entries    Success   %Tot.fail %Expl.fail   predicates
  224.      4         ---         3         25         25       app
  225.  
  226.   *Tries*    Entries    Success   %Tot.fail %Expl.fail   predicates
  227.      4          1          1          0          0       app#1
  228.      3          2          2          0          0       app#2
  229.  
  230.    Tries    *Entries*   Success   %Tot.fail %Expl.fail   predicates
  231.      3          2          2          0          0       app#2
  232.      4          1          1          0          0       app#1
  233.  
  234.    Tries     Entries   *Success*  %Tot.fail %Expl.fail   predicates
  235.      3          2          2          0          0       app#2
  236.      4          1          1          0          0       app#1
  237.  
  238.  
  239. *** Yes
  240. > > > > > > Profile : Added profiling code to predicate 'q' at clause level
  241.  
  242. *** Yes
  243. --1> 
  244. *** No
  245. > q : first try
  246. q : second try
  247.  
  248. *** Yes
  249. --1> q : that's all
  250.  
  251. *** No
  252. > > > 
  253. Profiling statistics for predicates :
  254. -----------------------------------
  255.  
  256.   *Tries*    Entries    Success   %Tot.fail %Expl.fail   predicates
  257.      1         ---         1        100        100       q
  258.  
  259.   *Tries*    Entries    Success   %Tot.fail %Expl.fail   predicates
  260.      1          1          1        100          0       q#1
  261.      1          1          0        100        100       q#2
  262.      0          0          0         ---        ---      q#3
  263.  
  264.    Tries    *Entries*   Success   %Tot.fail %Expl.fail   predicates
  265.      1          1          1        100          0       q#1
  266.      1          1          0        100        100       q#2
  267.      0          0          0         ---        ---      q#3
  268.  
  269.    Tries     Entries   *Success*  %Tot.fail %Expl.fail   predicates
  270.      1          1          1        100          0       q#1
  271.      1          1          0        100        100       q#2
  272.      0          0          0         ---        ---      q#3
  273.  
  274.  
  275. *** Yes
  276. > > 
  277. *** Yes
  278. > > 
  279. Profiling statistics for predicates :
  280. -----------------------------------
  281.  
  282. Profile statistics for predicate 'q' :
  283. ----------------------------------------
  284. + Number of tries : 0
  285. + Number of explicit failures : 0
  286. + Total number of failures : 0
  287. + Number of successes : 0
  288. + Success rate : --- %
  289.  
  290. CLAUSE #1 :
  291. ----------------------------------------
  292. + Number of tries : 0
  293. + Number of explicit failures : 0
  294. + Total number of failures : 0
  295. + Number of head unifications : 0
  296. + Number of successes : 0
  297. + Success rate : --- %
  298.  
  299. CLAUSE #2 :
  300. ----------------------------------------
  301. + Number of tries : 0
  302. + Number of explicit failures : 0
  303. + Total number of failures : 0
  304. + Number of head unifications : 0
  305. + Number of successes : 0
  306. + Success rate : --- %
  307.  
  308. CLAUSE #3 :
  309. ----------------------------------------
  310. + Number of tries : 0
  311. + Number of explicit failures : 0
  312. + Total number of failures : 0
  313. + Number of head unifications : 0
  314. + Number of successes : 0
  315. + Success rate : --- %
  316.  
  317.  
  318. **************************************************
  319.  
  320.  
  321.  
  322.  
  323. *** Yes
  324. > > q : first try
  325. q : second try
  326.  
  327. *** Yes
  328. --1> q : that's all
  329.  
  330. *** No
  331. > > > 
  332. Profiling statistics for predicates :
  333. -----------------------------------
  334.  
  335. Profile statistics for predicate 'q' :
  336. ----------------------------------------
  337. + Number of tries : 1
  338. + Number of explicit failures : 1
  339. + Total number of failures : 1
  340. + Number of successes : 1
  341. + Success rate : 100 %
  342.  
  343. CLAUSE #1 :
  344. ----------------------------------------
  345. + Number of tries : 1
  346. + Number of explicit failures : 0
  347. + Total number of failures : 1
  348. + Number of head unifications : 1
  349. + Number of successes : 1
  350. + Success rate : 100 %
  351.  
  352. CLAUSE #2 :
  353. ----------------------------------------
  354. + Number of tries : 1
  355. + Number of explicit failures : 1
  356. + Total number of failures : 1
  357. + Number of head unifications : 1
  358. + Number of successes : 0
  359. + Success rate : 0 %
  360.  
  361. CLAUSE #3 :
  362. ----------------------------------------
  363. + Number of tries : 0
  364. + Number of explicit failures : 0
  365. + Total number of failures : 0
  366. + Number of head unifications : 0
  367. + Number of successes : 0
  368. + Success rate : --- %
  369.  
  370.  
  371. **************************************************
  372.  
  373.  
  374.  
  375.  
  376. *** Yes
  377. > > > > > > > > > > > > > 
  378.