Git Product home page Git Product logo

Comments (3)

scorpiostudio avatar scorpiostudio commented on June 2, 2024

[xtrader@XXXX ~]$ ./timer
init tsc_ghz: 3.00000194999074
rdsys_latency: 12.7522477522478, rdtsc_latency: 5.08224775224775, rdns_latency: 5.67424775224775, tmp: 9177272454853256280
calibrate_latency: 67, tsc_ghz: 3.00000194999074, b2c: 61, c2d: 6, err: 0, rdsysns_latency: 62
calibrate_latency: 11, tsc_ghz: 3.00000194999074, b2c: 154, c2d: -98, err: -98, rdsysns_latency: 51
calibrate_latency: 12, tsc_ghz: 3.00000194999074, b2c: 258, c2d: -213, err: -213, rdsysns_latency: 40
calibrate_latency: 11, tsc_ghz: 3.00000194999074, b2c: 386, c2d: -332, err: -332, rdsysns_latency: 49
calibrate_latency: 13, tsc_ghz: 3.00000194999074, b2c: 490, c2d: -451, err: -451, rdsysns_latency: 34
calibrate_latency: 12, tsc_ghz: 3.00000194999074, b2c: 608, c2d: -567, err: -567, rdsysns_latency: 36
calibrate_latency: 181, tsc_ghz: 3.00000054699048, b2c: 743, c2d: -692, err: -692, rdsysns_latency: 46
calibrate_latency: 12, tsc_ghz: 3.00000054699048, b2c: 615, c2d: -565, err: -565, rdsysns_latency: 45
calibrate_latency: 11, tsc_ghz: 3.00000054699048, b2c: 491, c2d: -449, err: -449, rdsysns_latency: 37
calibrate_latency: 12, tsc_ghz: 3.00000054699048, b2c: 383, c2d: -332, err: -332, rdsysns_latency: 46
calibrate_latency: 12, tsc_ghz: 3.00000054699048, b2c: 255, c2d: -215, err: -215, rdsysns_latency: 35
calibrate_latency: 12, tsc_ghz: 3.00000054699048, b2c: 144, c2d: -94, err: -94, rdsysns_latency: 45
calibrate_latency: 209, tsc_ghz: 3.00000124999077, b2c: 17, c2d: 12, err: 0, rdsysns_latency: 24
calibrate_latency: 12, tsc_ghz: 3.00000124999077, b2c: 27, c2d: 21, err: 0, rdsysns_latency: 43
calibrate_latency: 5, tsc_ghz: 3.00000124999077, b2c: 21, c2d: 20, err: 0, rdsysns_latency: 36
calibrate_latency: 5, tsc_ghz: 3.00000124999077, b2c: 33, c2d: 21, err: 0, rdsysns_latency: 49
calibrate_latency: 5, tsc_ghz: 3.00000124999077, b2c: 15, c2d: 21, err: 0, rdsysns_latency: 31
calibrate_latency: 5, tsc_ghz: 3.00000124999077, b2c: 14, c2d: 12, err: 0, rdsysns_latency: 21
calibrate_latency: 120, tsc_ghz: 3.00000125899078, b2c: 15, c2d: 13, err: 0, rdsysns_latency: 23
calibrate_latency: 5, tsc_ghz: 3.00000125899078, b2c: 31, c2d: 20, err: 0, rdsysns_latency: 46
calibrate_latency: 5, tsc_ghz: 3.00000125899078, b2c: 31, c2d: 20, err: 0, rdsysns_latency: 46
calibrate_latency: 6, tsc_ghz: 3.00000125899078, b2c: 32, c2d: 20, err: 0, rdsysns_latency: 47

[xtrader@XXX ~]$ sudo lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 18
On-line CPU(s) list: 0-17
Thread(s) per core: 1
Core(s) per socket: 18
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 85
Model name: Intel(R) Core(TM) i9-10980XE CPU @ 3.00GHz
Stepping: 7
CPU MHz: 4999.877
CPU max MHz: 5000.0000
CPU min MHz: 1200.0000

from tscns.

ktprime avatar ktprime commented on June 2, 2024

服务器提供稳定的TSC。你说的频率不是一个层次问题,CPU超频运行的频率和系统TSC计算时钟频率不是一个东西

from tscns.

MengRao avatar MengRao commented on June 2, 2024

tsc频率一般是cpu的基础频率,不会随超频而改变。

from tscns.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.