| 8 | b[i]=i; |
| 9 | } |
| 10 | int main() |
| 11 | { |
| 12 | double start_time,end_time,used_time; |
| 13 | start_time=omp_get_wtime(); |
| 14 | #pragma omp parallel |
| 15 | init_array_B(B); |
| 16 | end_time=omp_get_wtime(); |
| 17 | used_time=end_time-start_time; |
| 18 | printf("used_time=%lf seconds\n",used_time); |
| 19 | } |
| 20 |
nothing calls this directly
no test coverage detected