mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 22:02:58 -06:00
7 lines
No EOL
156 B
C++
7 lines
No EOL
156 B
C++
#include <OpenMP_demo/OpenMP_demo.h>
|
|
|
|
double timeIt(void (*fun)()) {
|
|
double timeh = GetTickCount();
|
|
fun();
|
|
return (GetTickCount() - timeh)/1000.;
|
|
} |