Need we use some runtime memory fence mechanism comparing with asm volatile

前端 未结 0 517
名媛妹妹
名媛妹妹 2021-01-29 14:15

Let\'s say we have such a piece of c++ code:

auto t1 = getSystemTime(); // Statement 1
foo();                     // Statement 2
auto t2 = getSystemTime(); // Sta         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题