Ok, we're way offtopic here![]()
I have done a test before.
If I write a file with one thread,and run it on a dual -core computer,it cost about 19s.I find the CPU is uses 50% when my program runing.
If I write a file with two threads,and run it on a the computer ,it cost about 11s.I found the CPU is used 100% when my program runing.Why?
Bookmarks