add frameRate in API
update pthreads trace