Assembly CPU frequency measuring algorithm

后端 未结 10 2041
时光取名叫无心
时光取名叫无心 2020-12-01 14:29

What are the common algorithms being used to measure the processor frequency?

10条回答
  •  长情又很酷
    2020-12-01 15:01

    I'm not sure why you need assembly for this. If you're on a machine that has the /proc filesystem, then running:

    > cat /proc/cpuinfo
    

    might give you what you need.

提交回复
热议问题