Lines Matching full:printf
57 7. printf("Parallel level 1, thread num = %d",
75 printf("Testing \"ompd_get_thread_handle\"...\n"); in test_ompd_get_thread_handle()
89 printf("Test: With Correct Arguments.\n"); in test_ompd_get_thread_handle()
95 printf("Success. ompd_rc_unavailable, OpenMP is disabled.\n"); in test_ompd_get_thread_handle()
96 printf("This is not a Parallel Region, No more testing is possible.\n"); in test_ompd_get_thread_handle()
99 printf("Failed, with return code = %d\n", rc); in test_ompd_get_thread_handle()
101 printf("Success.\n"); in test_ompd_get_thread_handle()
105 printf("Test: Unsupported thread kind.\n"); in test_ompd_get_thread_handle()
109 printf("Failed, with return code = %d\n", rc); in test_ompd_get_thread_handle()
111 printf("Success.\n"); in test_ompd_get_thread_handle()
117 printf("Test: Wrong value for sizeof threadID.\n"); in test_ompd_get_thread_handle()
121 printf("Failed, with return code = %d\n", rc); in test_ompd_get_thread_handle()
123 printf("Success.\n"); in test_ompd_get_thread_handle()
134 printf("Test: Expecting ompd_rc_bad_input for NULL thread_handle.\n"); in test_ompd_get_thread_handle()
138 printf("Failed, with return code = %d\n", rc); in test_ompd_get_thread_handle()
140 printf("Success.\n"); in test_ompd_get_thread_handle()
142 printf( in test_ompd_get_thread_handle()
147 printf("Failed, with return code = %d\n", rc); in test_ompd_get_thread_handle()
149 printf("Success.\n"); in test_ompd_get_thread_handle()
164 7. printf("Parallel level 1, thread num = %d",
182 printf("Testing \"ompd_get_curr_parallel_handle\"...\n"); in test_ompd_get_curr_parallel_handle()
191 printf("Test: With Correct Arguments.\n"); in test_ompd_get_curr_parallel_handle()
198 printf("Success. ompd_rc_unavailable, Not in parallel region\n"); in test_ompd_get_curr_parallel_handle()
199 printf("No more testing is possible.\n"); in test_ompd_get_curr_parallel_handle()
202 printf("Return code is stale_handle, may be in non-parallel region.\n"); in test_ompd_get_curr_parallel_handle()
203 printf("No more testing is possible.\n"); in test_ompd_get_curr_parallel_handle()
206 printf("Failed, with return code = %d\n", rc); in test_ompd_get_curr_parallel_handle()
208 printf("Success.\n"); in test_ompd_get_curr_parallel_handle()
219 printf("Test: Expecting ompd_rc_bad_input for NULL parallel_handle.\n"); in test_ompd_get_curr_parallel_handle()
222 printf("Failed, with return code = %d\n", rc); in test_ompd_get_curr_parallel_handle()
224 printf("Success.\n"); in test_ompd_get_curr_parallel_handle()
226 printf("Test: Expecting ompd_rc_error or stale_handle for NULL " in test_ompd_get_curr_parallel_handle()
230 printf("Failed, with return code = %d\n", rc); in test_ompd_get_curr_parallel_handle()
232 printf("Success.\n"); in test_ompd_get_curr_parallel_handle()
247 7. printf("Parallel level 1, thread num = %d",
259 printf("Testing \"ompd_get_thread_in_parallel\"...\n"); in test_ompd_get_thread_in_parallel()
267 printf("Test: With Correct Arguments.\n"); in test_ompd_get_thread_in_parallel()
271 printf("Failed, with return code = %d\n", rc); in test_ompd_get_thread_in_parallel()
274 printf("Success.\n"); in test_ompd_get_thread_in_parallel()
278 printf("Test: Invalid thread num (199).\n"); in test_ompd_get_thread_in_parallel()
281 printf("Failed, with return code = %d\n", rc); in test_ompd_get_thread_in_parallel()
283 printf("Success.\n"); in test_ompd_get_thread_in_parallel()
285 printf("Test: Invalid thread num (-5).\n"); in test_ompd_get_thread_in_parallel()
288 printf("Failed, with return code = %d\n", rc); in test_ompd_get_thread_in_parallel()
290 printf("Success.\n"); in test_ompd_get_thread_in_parallel()
301 printf("Test: Expecting ompd_rc_bad_input for NULL thread_handle.\n"); in test_ompd_get_thread_in_parallel()
304 printf("Failed, with return code = %d\n", rc); in test_ompd_get_thread_in_parallel()
306 printf("Success.\n"); in test_ompd_get_thread_in_parallel()
308 printf("Test: Expecting ompd_rc_error or stale_handle for NULL " in test_ompd_get_thread_in_parallel()
312 printf("Failed, with return code = %d\n", rc); in test_ompd_get_thread_in_parallel()
314 printf("Success.\n"); in test_ompd_get_thread_in_parallel()
329 7. printf("Parallel level 1, thread num = %d",
342 printf("Testing \"ompd_thread_handle_compare\"...\n"); in test_ompd_thread_handle_compare()
355 printf("Test: With Correct Arguments.\n"); in test_ompd_thread_handle_compare()
359 printf("Failed, with return code = %d\n", rc); in test_ompd_thread_handle_compare()
362 printf("Success.\n"); in test_ompd_thread_handle_compare()
365 printf("Threads are Equal.\n"); in test_ompd_thread_handle_compare()
371 printf("Thread 1 is lesser than thread 2, cmp_val = %d\n", cmp_value); in test_ompd_thread_handle_compare()
372 printf("Test: Changing the order.\n"); in test_ompd_thread_handle_compare()
376 printf("Failed, with return code = %d\n", rc); in test_ompd_thread_handle_compare()
380 printf("Success now cmp_value is greater, %d.\n", cmp_value); in test_ompd_thread_handle_compare()
382 printf("Failed.\n"); in test_ompd_thread_handle_compare()
384 printf("Thread 1 is greater than thread 2.\n"); in test_ompd_thread_handle_compare()
385 printf("Test: Changing the order.\n"); in test_ompd_thread_handle_compare()
389 printf("Failed, with return code = %d\n", rc); in test_ompd_thread_handle_compare()
393 printf("Success now cmp_value is lesser, %d.\n", cmp_value); in test_ompd_thread_handle_compare()
395 printf("Failed.\n"); in test_ompd_thread_handle_compare()
407 printf("Test: Expecting ompd_rc_bad_input for NULL cmp_value.\n"); in test_ompd_thread_handle_compare()
410 printf("Failed, with return code = %d\n", rc); in test_ompd_thread_handle_compare()
412 printf("Success.\n"); in test_ompd_thread_handle_compare()
414 printf("Test: Expecting ompd_rc_error or stale_handle for NULL " in test_ompd_thread_handle_compare()
418 printf("Failed, with return code = %d\n", rc); in test_ompd_thread_handle_compare()
420 printf("Success.\n"); in test_ompd_thread_handle_compare()
436 7. printf("Parallel level 1, thread num = %d",
449 printf("Testing \"ompd_get_thread_id\"...\n"); in test_ompd_get_thread_id()
459 printf("Test: With Correct Arguments.\n"); in test_ompd_get_thread_id()
463 printf("Failed, with return code = %d\n", rc); in test_ompd_get_thread_id()
466 printf("Success. Thread id = %ld\n", threadID); in test_ompd_get_thread_id()
470 printf("Test: Wrong sizeof_thread_id.\n"); in test_ompd_get_thread_id()
474 printf("Failed, with return code = %d\n", rc); in test_ompd_get_thread_id()
476 printf("Success.\n"); in test_ompd_get_thread_id()
479 printf("Test: Unsupported thread kind.\n"); in test_ompd_get_thread_id()
483 printf("Failed, with return code = %d\n", rc); in test_ompd_get_thread_id()
485 printf("Success.\n"); in test_ompd_get_thread_id()
496 printf("Test: Expecting ompd_rc_bad_input for NULL threadID.\n"); in test_ompd_get_thread_id()
500 printf("Failed, with return code = %d\n", rc); in test_ompd_get_thread_id()
502 printf("Success.\n"); in test_ompd_get_thread_id()
504 printf("Test: Expecting ompd_rc_error for NULL thread_handle.\n"); in test_ompd_get_thread_id()
508 printf("Failed, with return code = %d\n", rc); in test_ompd_get_thread_id()
510 printf("Success.\n"); in test_ompd_get_thread_id()
525 7. printf("Parallel level 1, thread num = %d",
541 printf("Testing Not enabled for \"ompd_rel_thread_handle\"...\n"); in test_ompd_rel_thread_handle()
542 printf("Disabled.\n"); in test_ompd_rel_thread_handle()
556 7. printf("Parallel level 1, thread num = %d",
561 11. printf ("Parallel level 2, thread num = %d",
581 printf("Testing \"ompd_get_enclosing_parallel_handle\"...\n"); in test_ompd_get_enclosing_parallel_handle()
589 printf("Test: With Correct Arguments.\n"); in test_ompd_get_enclosing_parallel_handle()
594 printf("Success. return code is ompd_rc_unavailable, Not in parallel " in test_ompd_get_enclosing_parallel_handle()
596 printf("No more testing is possible.\n"); in test_ompd_get_enclosing_parallel_handle()
599 printf("Failed, with return code = %d\n", rc); in test_ompd_get_enclosing_parallel_handle()
602 printf("Success.\n"); in test_ompd_get_enclosing_parallel_handle()
613 printf("Test: Expecting ompd_rc_bad_input for NULL " in test_ompd_get_enclosing_parallel_handle()
617 printf("Failed, with return code = %d\n", rc); in test_ompd_get_enclosing_parallel_handle()
619 printf("Success.\n"); in test_ompd_get_enclosing_parallel_handle()
621 printf("Test: Expecting ompd_rc_error or stale_handle for NULL " in test_ompd_get_enclosing_parallel_handle()
625 printf("Failed, with return code = %d\n", rc); in test_ompd_get_enclosing_parallel_handle()
627 printf("Success.\n"); in test_ompd_get_enclosing_parallel_handle()
642 7. printf("Parallel level 1, thread num = %d",
647 11. printf ("Parallel level 2, thread num = %d",
661 printf("Testing \"ompd_parallel_handle_compare\"...\n"); in test_ompd_parallel_handle_compare()
674 printf("Test: With Correct Arguments.\n"); in test_ompd_parallel_handle_compare()
678 printf("Failed, with return code = %d\n", rc); in test_ompd_parallel_handle_compare()
681 printf("Success.\n"); in test_ompd_parallel_handle_compare()
684 printf("Parallel regions are Same.\n"); in test_ompd_parallel_handle_compare()
690 printf("Parallel handle 1 is lesser than handle 2, cmp_val = %d\n", in test_ompd_parallel_handle_compare()
692 printf("Test: Changing the order.\n"); in test_ompd_parallel_handle_compare()
696 printf("Failed, with return code = %d\n", rc); in test_ompd_parallel_handle_compare()
700 printf("Success now cmp_value is greater, %d.\n", cmp_value); in test_ompd_parallel_handle_compare()
702 printf("Failed.\n"); in test_ompd_parallel_handle_compare()
704 printf("Parallel 1 is greater than handle 2.\n"); in test_ompd_parallel_handle_compare()
705 printf("Test: Changing the order.\n"); in test_ompd_parallel_handle_compare()
709 printf("Failed, with return code = %d\n", rc); in test_ompd_parallel_handle_compare()
713 printf("Success now cmp_value is lesser, %d.\n", cmp_value); in test_ompd_parallel_handle_compare()
715 printf("Failed.\n"); in test_ompd_parallel_handle_compare()
727 printf("Test: Expecting ompd_rc_bad_input for NULL cmp_value.\n"); in test_ompd_parallel_handle_compare()
730 printf("Failed, with return code = %d\n", rc); in test_ompd_parallel_handle_compare()
732 printf("Success.\n"); in test_ompd_parallel_handle_compare()
734 printf("Test: Expecting ompd_rc_error or stale_handle for NULL " in test_ompd_parallel_handle_compare()
738 printf("Failed, with return code = %d\n", rc); in test_ompd_parallel_handle_compare()
740 printf("Success.\n"); in test_ompd_parallel_handle_compare()
756 7. printf("Parallel level 1, thread num = %d",
772 printf("Testing NOT enabled for \"ompd_rel_parallel_handle\"...\n"); in test_ompd_rel_parallel_handle()
773 printf("Disabled.\n"); in test_ompd_rel_parallel_handle()
787 7. printf("Parallel level 1, thread num = %d",
798 printf("Testing \"test_ompd_initialize\"...\n"); in test_ompd_initialize()
803 printf("Failed in \"ompd_get_api_version\".\n"); in test_ompd_initialize()
811 printf("Test: With Correct Arguments.\n"); in test_ompd_initialize()
816 printf("Failed, with return code = %d\n", rc); in test_ompd_initialize()
819 printf("Success.\n"); in test_ompd_initialize()
835 printf("Test: Invalid callbacks.\n"); in test_ompd_initialize()
838 printf("Warning, with return code = %d\n", rc); in test_ompd_initialize()
840 printf("Success.\n"); in test_ompd_initialize()
843 printf("Test: Wrong API version.\n"); in test_ompd_initialize()
846 printf("Failed, with return code = %d\n", rc); in test_ompd_initialize()
848 printf("Success.\n"); in test_ompd_initialize()
859 printf("Test: Expecting ompd_rc_bad_input for NULL table.\n"); in test_ompd_initialize()
862 printf("Failed, with return code = %d\n", rc); in test_ompd_initialize()
864 printf("Success.\n"); in test_ompd_initialize()
866 printf("Test: Expecting ompd_rc_error or ompd_rc_bad_input for NULL\n"); in test_ompd_initialize()
869 printf("Failed, with return code = %d\n", rc); in test_ompd_initialize()
871 printf("Success.\n"); in test_ompd_initialize()
886 7. printf("Parallel level 1, thread num = %d",
900 printf("Testing \"ompd_get_api_version\"...\n"); in test_ompd_get_api_version()
904 printf("Test: With Correct Arguments.\n"); in test_ompd_get_api_version()
907 printf("Failed, with return code = %d\n", rc); in test_ompd_get_api_version()
910 printf("Success. API version is %ld\n", version); in test_ompd_get_api_version()
912 printf( in test_ompd_get_api_version()
916 printf("Failed, with return code = %d\n", rc); in test_ompd_get_api_version()
918 printf("Success.\n"); in test_ompd_get_api_version()
933 7. printf("Parallel level 1, thread num = %d",
947 printf("Testing \"ompd_get_version_string\"...\n"); in test_ompd_get_version_string()
951 printf("Test: With Correct Arguments.\n"); in test_ompd_get_version_string()
954 printf("Failed, with return code = %d\n", rc); in test_ompd_get_version_string()
957 printf("Success. API version is %s\n", string); in test_ompd_get_version_string()
959 printf( in test_ompd_get_version_string()
963 printf("Failed, with return code = %d\n", rc); in test_ompd_get_version_string()
965 printf("Success.\n"); in test_ompd_get_version_string()
980 7. printf("Parallel level 1, thread num = %d",
998 printf("Testing \"ompd_finalize\"...\n"); in test_ompd_finalize()
1000 printf("Test: With Correct Arguments.\n"); in test_ompd_finalize()
1003 printf("Ret code: ompd_rc_ok, Success if ompd is initialized.\n"); in test_ompd_finalize()
1006 printf( in test_ompd_finalize()
1009 printf("Failed: Return code is %d.\n", rc); in test_ompd_finalize()
1024 7. printf("Parallel level 1, thread num = %d",
1036 printf("Testing \"ompd_process_initialize\"....\n"); in test_ompd_process_initialize()
1042 printf("Test: with correct Args.\n"); in test_ompd_process_initialize()
1045 printf("Failed, with return code = %d\n", rc); in test_ompd_process_initialize()
1048 printf("Success.\n"); in test_ompd_process_initialize()
1050 printf("Test: With Unsupported library.\n"); in test_ompd_process_initialize()
1051 printf("Warning: Have to test manually with 32 and 64 bit combination.\n"); in test_ompd_process_initialize()
1054 printf("Test: with wrong context value.\n"); in test_ompd_process_initialize()
1058 printf("Failed, with return code = %d\n", rc); in test_ompd_process_initialize()
1060 printf("Success.\n"); in test_ompd_process_initialize()
1071 printf("Test: Expecting stale handle or bad_input for NULL addr_handle.\n"); in test_ompd_process_initialize()
1074 printf("Failed, with return code = %d\n", rc); in test_ompd_process_initialize()
1076 printf("Success.\n"); in test_ompd_process_initialize()
1091 7. printf("Parallel level 1, thread num = %d",
1102 printf("Testing Not enabled for \"ompd_device_initialize\".\n"); in test_ompd_device_initialize()
1103 printf("Disabled.\n"); in test_ompd_device_initialize()
1118 7. printf("Parallel level 1, thread num = %d",
1128 printf("Testing Not enabled for \"ompd_rel_address_space_handle\".\n"); in test_ompd_rel_address_space_handle()
1129 printf("Disabled.\n"); in test_ompd_rel_address_space_handle()
1144 7. printf("Parallel level 1, thread num = %d",
1157 printf("Testing \"ompd_get_omp_version\" ...\n"); in test_ompd_get_omp_version()
1166 printf("Test: With Correct Arguments.\n"); in test_ompd_get_omp_version()
1169 printf("Failed, with return code = %d\n", rc); in test_ompd_get_omp_version()
1172 printf("Success. API version is %ld\n", omp_version); in test_ompd_get_omp_version()
1183 printf("Test: Expecting stale handle or bad_input for NULL addr_handle.\n"); in test_ompd_get_omp_version()
1186 printf("Failed, with return code = %d\n", rc); in test_ompd_get_omp_version()
1188 printf("Success.\n"); in test_ompd_get_omp_version()
1190 printf("Test: Expecting ompd_rc_error or bad_input for NULL omp_version.\n"); in test_ompd_get_omp_version()
1193 printf("Failed, with return code = %d\n", rc); in test_ompd_get_omp_version()
1195 printf("Success.\n"); in test_ompd_get_omp_version()
1210 7. printf("Parallel level 1, thread num = %d",
1222 printf("Testing \"ompd_get_omp_version_string\" ...\n"); in test_ompd_get_omp_version_string()
1231 printf("Test: With Correct Arguments.\n"); in test_ompd_get_omp_version_string()
1234 printf("Failed, with return code = %d\n", rc); in test_ompd_get_omp_version_string()
1237 printf("Success. API version is %s\n", string); in test_ompd_get_omp_version_string()
1248 printf("Test: Expecting stale handle or bad_input for NULL addr_handle.\n"); in test_ompd_get_omp_version_string()
1251 printf("Failed, with return code = %d\n", rc); in test_ompd_get_omp_version_string()
1253 printf("Success.\n"); in test_ompd_get_omp_version_string()
1255 printf("Test: Expecting ompd_rc_error or bad_input for NULL omp_version.\n"); in test_ompd_get_omp_version_string()
1258 printf("Failed, with return code = %d\n", rc); in test_ompd_get_omp_version_string()
1260 printf("Success.\n"); in test_ompd_get_omp_version_string()
1293 25 printf ("Fib of 10 is %d", ret);
1305 printf("Testing \"ompd_get_curr_task_handle\"...\n"); in test_ompd_get_curr_task_handle()
1314 printf("Test: With Correct Arguments.\n"); in test_ompd_get_curr_task_handle()
1319 printf( in test_ompd_get_curr_task_handle()
1321 printf("No more testing is possible.\n"); in test_ompd_get_curr_task_handle()
1324 printf("Return code is stale_handle, may be in non parallel region.\n"); in test_ompd_get_curr_task_handle()
1325 printf("No more testing is possible.\n"); in test_ompd_get_curr_task_handle()
1328 printf("Failed. with return code = %d\n", rc); in test_ompd_get_curr_task_handle()
1330 printf("Success.\n"); in test_ompd_get_curr_task_handle()
1341 printf("Test: Expecting ompd_rc_bad_input for NULL parallel_handle.\n"); in test_ompd_get_curr_task_handle()
1344 printf("Failed. with return code = %d\n", rc); in test_ompd_get_curr_task_handle()
1346 printf("Success.\n"); in test_ompd_get_curr_task_handle()
1348 printf("Test: Expecting ompd_rc_error or stale_handle for NULL " in test_ompd_get_curr_task_handle()
1352 printf("Failed. with return code = %d\n", rc); in test_ompd_get_curr_task_handle()
1354 printf("Success.\n"); in test_ompd_get_curr_task_handle()
1387 25 printf ("Fib of 10 is %d", ret);
1399 printf("Testing \"ompd_get_task_parallel_handle\"...\n"); in test_ompd_get_task_parallel_handle()
1407 printf("Test: With Correct Arguments.\n"); in test_ompd_get_task_parallel_handle()
1411 printf("Failed. with return code = %d\n", rc); in test_ompd_get_task_parallel_handle()
1414 printf("Success.\n"); in test_ompd_get_task_parallel_handle()
1425 printf("Test: Expecting ompd_rc_bad_input for NULL task_parallel_handle.\n"); in test_ompd_get_task_parallel_handle()
1428 printf("Failed. with return code = %d\n", rc); in test_ompd_get_task_parallel_handle()
1430 printf("Success.\n"); in test_ompd_get_task_parallel_handle()
1432 printf( in test_ompd_get_task_parallel_handle()
1436 printf("Failed. with return code = %d\n", rc); in test_ompd_get_task_parallel_handle()
1438 printf("Success.\n"); in test_ompd_get_task_parallel_handle()
1471 25 printf ("Fib of 10 is %d", ret);
1483 printf("Testing \"ompd_get_generating_task_handle\"...\n"); in test_ompd_get_generating_task_handle()
1490 printf("Test: With Correct Arguments.\n"); in test_ompd_get_generating_task_handle()
1495 printf("Success. Return code is ompd_rc_unavailable\n"); in test_ompd_get_generating_task_handle()
1496 printf("No more testing is possible.\n"); in test_ompd_get_generating_task_handle()
1499 printf("Failed. with return code = %d\n", rc); in test_ompd_get_generating_task_handle()
1502 printf("Success.\n"); in test_ompd_get_generating_task_handle()
1513 printf( in test_ompd_get_generating_task_handle()
1517 printf("Failed. with return code = %d\n", rc); in test_ompd_get_generating_task_handle()
1519 printf("Success.\n"); in test_ompd_get_generating_task_handle()
1521 printf( in test_ompd_get_generating_task_handle()
1525 printf("Failed. with return code = %d\n", rc); in test_ompd_get_generating_task_handle()
1527 printf("Success.\n"); in test_ompd_get_generating_task_handle()
1560 25 printf ("Fib of 10 is %d", ret);
1571 printf("Testing \"ompd_get_scheduling_task_handle\"...\n"); in test_ompd_get_scheduling_task_handle()
1578 printf("Test: With Correct Arguments.\n"); in test_ompd_get_scheduling_task_handle()
1583 printf( in test_ompd_get_scheduling_task_handle()
1585 printf("No more testing is possible.\n"); in test_ompd_get_scheduling_task_handle()
1588 printf("Failed. with return code = %d\n", rc); in test_ompd_get_scheduling_task_handle()
1591 printf("Success.\n"); in test_ompd_get_scheduling_task_handle()
1602 printf( in test_ompd_get_scheduling_task_handle()
1606 printf("Failed. with return code = %d\n", rc); in test_ompd_get_scheduling_task_handle()
1608 printf("Success.\n"); in test_ompd_get_scheduling_task_handle()
1610 printf( in test_ompd_get_scheduling_task_handle()
1614 printf("Failed. with return code = %d\n", rc); in test_ompd_get_scheduling_task_handle()
1616 printf("Success.\n"); in test_ompd_get_scheduling_task_handle()
1632 7. printf("Parallel level 1, thread num = %d",
1645 printf("Testing \"ompd_get_task_in_parallel\"...\n"); in test_ompd_get_task_in_parallel()
1653 printf("Test: With Correct Arguments.\n"); in test_ompd_get_task_in_parallel()
1657 printf("Failed. with return code = %d\n", rc); in test_ompd_get_task_in_parallel()
1660 printf("Success.\n"); in test_ompd_get_task_in_parallel()
1664 printf("Test: Invalid thread num (199).\n"); in test_ompd_get_task_in_parallel()
1667 printf("Failed. with return code = %d\n", rc); in test_ompd_get_task_in_parallel()
1669 printf("Success.\n"); in test_ompd_get_task_in_parallel()
1671 printf("Test: Invalid thread num (-5).\n"); in test_ompd_get_task_in_parallel()
1674 printf("Failed. with return code = %d\n", rc); in test_ompd_get_task_in_parallel()
1676 printf("Success.\n"); in test_ompd_get_task_in_parallel()
1687 printf("Test: Expecting ompd_rc_bad_input for NULL task_handle.\n"); in test_ompd_get_task_in_parallel()
1690 printf("Failed. with return code = %d\n", rc); in test_ompd_get_task_in_parallel()
1692 printf("Success.\n"); in test_ompd_get_task_in_parallel()
1694 printf("Test: Expecting ompd_rc_error or stale_handle for NULL " in test_ompd_get_task_in_parallel()
1698 printf("Failed. with return code = %d\n", rc); in test_ompd_get_task_in_parallel()
1700 printf("Success.\n"); in test_ompd_get_task_in_parallel()
1733 25 printf ("Fib of 10 is %d", ret);
1744 printf("Testing Not enabled for \"ompd_rel_task_handle\".\n"); in test_ompd_rel_task_handle()
1745 printf("Disabled.\n"); in test_ompd_rel_task_handle()
1778 25 printf ("Fib of 10 is %d", ret);
1790 printf("Testing \"ompd_task_handle_compare\"...\n"); in test_ompd_task_handle_compare()
1801 printf("Test: With Correct Arguments.\n"); in test_ompd_task_handle_compare()
1805 printf("Failed. with return code = %d\n", rc); in test_ompd_task_handle_compare()
1808 printf("Success.\n"); in test_ompd_task_handle_compare()
1811 printf("Task Handles are Same.\n"); in test_ompd_task_handle_compare()
1817 printf("Task handle 1 is lesser than handle 2, cmp_val = %d\n", in test_ompd_task_handle_compare()
1819 printf("Test: Changing the order.\n"); in test_ompd_task_handle_compare()
1822 printf("Failed. with return code = %d\n", rc); in test_ompd_task_handle_compare()
1826 printf("Success now cmp_value is greater, %d.\n", cmp_value); in test_ompd_task_handle_compare()
1828 printf("Failed.\n"); in test_ompd_task_handle_compare()
1830 printf("Task 1 is greater than handle 2.\n"); in test_ompd_task_handle_compare()
1831 printf("Test: Changing the order.\n"); in test_ompd_task_handle_compare()
1834 printf("Failed. with return code = %d\n", rc); in test_ompd_task_handle_compare()
1838 printf("Success now cmp_value is lesser, %d.\n", cmp_value); in test_ompd_task_handle_compare()
1840 printf("Failed.\n"); in test_ompd_task_handle_compare()
1852 printf("Test: Expecting ompd_rc_bad_input for NULL cmp_value.\n"); in test_ompd_task_handle_compare()
1855 printf("Failed. with return code = %d\n", rc); in test_ompd_task_handle_compare()
1857 printf("Success.\n"); in test_ompd_task_handle_compare()
1859 printf("Test: Expecting ompd_rc_error or stale_handle for NULL " in test_ompd_task_handle_compare()
1863 printf("Failed. with return code = %d\n", rc); in test_ompd_task_handle_compare()
1865 printf("Success.\n"); in test_ompd_task_handle_compare()
1899 25 printf ("Fib of 10 is %d", ret);
1910 printf("Testing \"ompd_get_task_function\"...\n"); in test_ompd_get_task_function()
1918 printf("Test: With Correct Arguments.\n"); in test_ompd_get_task_function()
1921 printf("Failed. with return code = %d\n", rc); in test_ompd_get_task_function()
1924 printf("Success. Entry point is %lx.\n", entry_point.address); in test_ompd_get_task_function()
1935 printf("Test: Expecting ompd_rc_bad_input for NULL entry_point.\n"); in test_ompd_get_task_function()
1938 printf("Failed. with return code = %d\n", rc); in test_ompd_get_task_function()
1940 printf("Success.\n"); in test_ompd_get_task_function()
1942 printf( in test_ompd_get_task_function()
1946 printf("Failed. with return code = %d\n", rc); in test_ompd_get_task_function()
1948 printf("Success.\n"); in test_ompd_get_task_function()
1981 25 printf ("Fib of 10 is %d", ret);
1992 printf("Testing \"ompd_get_task_frame\"...\n"); in test_ompd_get_task_frame()
2001 printf("Test: With Correct Arguments.\n"); in test_ompd_get_task_frame()
2004 printf("Failed. with return code = %d\n", rc); in test_ompd_get_task_frame()
2007 printf("Success.\n"); in test_ompd_get_task_frame()
2018 printf("Test: Expecting ompd_rc_bad_input for NULL exit and enter frame.\n"); in test_ompd_get_task_frame()
2021 printf("Failed. with return code = %d\n", rc); in test_ompd_get_task_frame()
2023 printf("Success.\n"); in test_ompd_get_task_frame()
2025 printf( in test_ompd_get_task_frame()
2029 printf("Failed. with return code = %d\n", rc); in test_ompd_get_task_frame()
2031 printf("Success.\n"); in test_ompd_get_task_frame()
2047 7. printf("Parallel level 1, thread num = %d",
2060 printf("Testing \"ompd_get_state\"...\n"); in test_ompd_get_state()
2070 printf("Test: With Correct Arguments.\n"); in test_ompd_get_state()
2073 printf("Failed. with return code = %d\n", rc); in test_ompd_get_state()
2076 printf("Success.\n"); in test_ompd_get_state()
2087 printf("Test: Expecting ompd_rc_error or stale handle for NULL " in test_ompd_get_state()
2091 printf("Failed. with return code = %d\n", rc); in test_ompd_get_state()
2093 printf("Success.\n"); in test_ompd_get_state()
2126 25 printf ("Fib of 10 is %d", ret);
2137 printf("Testing \"ompd_get_display_control_vars\" ...\n"); in test_ompd_get_display_control_vars()
2146 printf("Test: With Correct Arguments.\n"); in test_ompd_get_display_control_vars()
2149 printf("Failed. with return code = %d\n", rc); in test_ompd_get_display_control_vars()
2152 printf("Success.\n"); in test_ompd_get_display_control_vars()
2163 printf("Test: Expecting stale handle or bad_input for NULL addr_handle.\n"); in test_ompd_get_display_control_vars()
2166 printf("Failed. with return code = %d\n", rc); in test_ompd_get_display_control_vars()
2168 printf("Success.\n"); in test_ompd_get_display_control_vars()
2170 printf("Test: Expecting ompd_rc_error or bad_input for NULL control_vars.\n"); in test_ompd_get_display_control_vars()
2173 printf("Failed. with return code = %d\n", rc); in test_ompd_get_display_control_vars()
2175 printf("Success.\n"); in test_ompd_get_display_control_vars()
2208 25 printf ("Fib of 10 is %d", ret);
2219 printf("Testing Not enabled for \"ompd_rel_display_control_vars\".\n"); in test_ompd_rel_display_control_vars()
2220 printf("Disabled.\n"); in test_ompd_rel_display_control_vars()
2236 7. printf("Parallel level 1, thread num = %d",
2250 printf("Testing \"ompd_enumerate_icvs\"...\n"); in test_ompd_enumerate_icvs()
2264 printf("Test: With Correct Arguments.\n"); in test_ompd_enumerate_icvs()
2268 printf("Failed. with return code = %d\n", rc); in test_ompd_enumerate_icvs()
2271 printf("Success.\n"); in test_ompd_enumerate_icvs()
2274 printf("Test: Unknown current value.\n"); in test_ompd_enumerate_icvs()
2280 printf("Failed. with return code = %d\n", rc); in test_ompd_enumerate_icvs()
2282 printf("Success.\n"); in test_ompd_enumerate_icvs()
2293 printf( in test_ompd_enumerate_icvs()
2298 printf("Failed. with return code = %d\n", rc); in test_ompd_enumerate_icvs()
2300 printf("Success.\n"); in test_ompd_enumerate_icvs()
2302 printf( in test_ompd_enumerate_icvs()
2307 printf("Failed. with return code = %d\n", rc); in test_ompd_enumerate_icvs()
2309 printf("Success.\n"); in test_ompd_enumerate_icvs()
2342 25 printf ("Fib of 10 is %d", ret);
2354 printf("Testing \"ompd_get_icv_from_scope with addr_handle\"...\n"); in test_ompd_get_icv_from_scope_with_addr_handle()
2363 printf("Test: With Correct Arguments.\n"); in test_ompd_get_icv_from_scope_with_addr_handle()
2371 printf("Failed. with return code = %d\n", rc); in test_ompd_get_icv_from_scope_with_addr_handle()
2374 printf("Success.\n"); in test_ompd_get_icv_from_scope_with_addr_handle()
2377 printf("Test: bad_input for unknown icv_id.\n"); in test_ompd_get_icv_from_scope_with_addr_handle()
2381 printf("Failed. with return code = %d\n", rc); in test_ompd_get_icv_from_scope_with_addr_handle()
2383 printf("Success.\n"); in test_ompd_get_icv_from_scope_with_addr_handle()
2386 printf("Test: rc_incompatible for ICV that cant be represented as an " in test_ompd_get_icv_from_scope_with_addr_handle()
2391 printf("Failed. with return code = %d\n", rc); in test_ompd_get_icv_from_scope_with_addr_handle()
2393 printf("Success.\n"); in test_ompd_get_icv_from_scope_with_addr_handle()
2404 printf("Test: Expecting ompd_rc_bad_input for NULL icv_value.\n"); in test_ompd_get_icv_from_scope_with_addr_handle()
2408 printf("Failed. with return code = %d\n", rc); in test_ompd_get_icv_from_scope_with_addr_handle()
2410 printf("Success.\n"); in test_ompd_get_icv_from_scope_with_addr_handle()
2412 printf("Test: Expecting ompd_rc_error for NULL handle.\n"); in test_ompd_get_icv_from_scope_with_addr_handle()
2416 printf("Failed. with return code = %d\n", rc); in test_ompd_get_icv_from_scope_with_addr_handle()
2418 printf("Success.\n"); in test_ompd_get_icv_from_scope_with_addr_handle()
2425 printf("Testing \"ompd_get_icv_from_scope with thread_handle\"...\n"); in test_ompd_get_icv_from_scope_with_thread_handle()
2434 printf("Test: With Correct Arguments.\n"); in test_ompd_get_icv_from_scope_with_thread_handle()
2440 printf("Failed. with return code = %d\n", rc); in test_ompd_get_icv_from_scope_with_thread_handle()
2443 printf("Success.\n"); in test_ompd_get_icv_from_scope_with_thread_handle()
2445 printf("Test: with nthreads_var for ompd_rc_incomplete.\n"); in test_ompd_get_icv_from_scope_with_thread_handle()
2449 printf("Failed. with return code = %d\n", rc); in test_ompd_get_icv_from_scope_with_thread_handle()
2452 printf("Success.\n"); in test_ompd_get_icv_from_scope_with_thread_handle()
2459 printf("Testing \"ompd_get_icv_from_scope with parallel_handle\"...\n"); in test_ompd_get_icv_from_scope_with_parallel_handle()
2468 printf("Test: With Correct Arguments.\n"); in test_ompd_get_icv_from_scope_with_parallel_handle()
2474 printf("Failed. with return code = %d\n", rc); in test_ompd_get_icv_from_scope_with_parallel_handle()
2477 printf("Success.\n"); in test_ompd_get_icv_from_scope_with_parallel_handle()
2484 printf("Testing \"ompd_get_icv_from_scope with task_handle\"...\n"); in test_ompd_get_icv_from_scope_with_task_handle()
2492 printf("Test: With Correct Arguments.\n"); in test_ompd_get_icv_from_scope_with_task_handle()
2498 printf("Failed. with return code = %d\n", rc); in test_ompd_get_icv_from_scope_with_task_handle()
2501 printf("Success.\n"); in test_ompd_get_icv_from_scope_with_task_handle()
2515 7. printf("Parallel level 1, thread num = %d",
2528 printf("Testing \"ompd_get_icv_string_from_scope\"...\n"); in test_ompd_get_icv_string_from_scope()
2537 printf("Test: With Correct Arguments.\n"); in test_ompd_get_icv_string_from_scope()
2543 printf("Failed. with return code = %d\n", rc); in test_ompd_get_icv_string_from_scope()
2546 printf("Success.\n"); in test_ompd_get_icv_string_from_scope()
2549 printf("Test: bad_input for unknown icv_id.\n"); in test_ompd_get_icv_string_from_scope()
2553 printf("Failed. with return code = %d\n", rc); in test_ompd_get_icv_string_from_scope()
2555 printf("Success.\n"); in test_ompd_get_icv_string_from_scope()
2566 printf("Test: Expecting ompd_rc_bad_input for NULL icv_string.\n"); in test_ompd_get_icv_string_from_scope()
2570 printf("Failed. with return code = %d\n", rc); in test_ompd_get_icv_string_from_scope()
2572 printf("Success.\n"); in test_ompd_get_icv_string_from_scope()
2574 printf("Test: Expecting ompd_rc_error for NULL handle.\n"); in test_ompd_get_icv_string_from_scope()
2579 printf("Failed. with return code = %d\n", rc); in test_ompd_get_icv_string_from_scope()
2581 printf("Success.\n"); in test_ompd_get_icv_string_from_scope()
2587 printf("Disabled: Testing Not enabled for \"ompd_get_tool_data\".\n"); in test_ompd_get_tool_data()
2592 printf("Disabled: Testing Not enabled for \"ompd_enumerate_states\".\n"); in test_ompd_enumerate_states()