MCPcopy Create free account
hub / github.com/AdvancedCompiler/AdvancedCompiler / main

Function main

code/Chapter9/9-9.c:10–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8 b[i]=i;
9}
10int 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

Callers

nothing calls this directly

Calls 1

init_array_BFunction · 0.85

Tested by

no test coverage detected