in this function omp_get_wtime
For example if two treads A and B, A takes 5 and the other 5 and running at the same time, it will get 5 or 10?
t_start = omp_get_wtime();
#pragma omp parallel
{
.....
}
t_end = omp_get_wtime() - t_start;Return to Using OpenMP - The Book and Examples
Users browsing this forum: No registered users and 0 guests