Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
1.9 Time Function
#include <stdio.h> #include <omp.h> int main() { int i, j=0; float start,end; start = omp_get_wtime(); #pragma omp parallel for for (i=0; i < 80000; i++) { j+=i; } end = omp_get_wtime(); printf("Time taken: %lf\n", end - start); return 0; }
run
|
edit
|
history
|
help
0
ques.1
Random by thread
double_buffer_madness
maximum_template
ordenarcifrademenosamas
150114_MatrizSumaPerimetro
Lab 9 v0.965
150113_ArrayOrdenado
Practica 5 ejercicio beneficio empresa
Intro coding hello world