title: Multithread program execution time?
body: <p>I wrote a C multi-threaded program, if I use clock() function or time function of shell bash, it gives a time that seems the time of on thread * number of threads, so if the program execute in 1 second it gives 6 seconds using 6 threads. But with a long time it's not a simple division anymore, so I want to know if there is a function that measures the real execution time and not the sum of all threads time</p>