cpu number option added for multithread

and removing code profiling