【什么时候使用多线程】

2017-01-14  本文已影响0人  hello高world

. 引入

google2010年ppt
硬件 耗时
L1 cache reference 0.5ns
Branch mispredict 5ns
L2 cache reference 7ns
Mutex lock/unlock 100ns
Main memory reference 100ns
Send 1M bytes over 1Gbps network 10ms
Read 1M sequentially from memory 0.25ms
Round trip within data center 0.5ms
Disk seek 8~10ms
Read 1MB sequentially from disk 20~25ms
上一篇 下一篇

猜你喜欢

热点阅读