pthreads Mesuring the running time of parallel execution vs serial execution of linked list operations using pthreads in c++