Skip to content

godcodehunter/wtmlib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PROJECT IN PROGRESS - NOT FOR USE

Wall-clock Time Measurement library (WTMLIB)

Port with some modification of the WTMLIB.
Library supported architectures: amd64, arm.

The library allows measuring wall-clock time intervals with nanosecond precision and very low overhead (also at nanosecond scale).

To achieve this the library uses Time Stamp Counter (TSC) and ticks conversion to nanoseconds by means of fast division-free integer arithmetic.

Note

Time Stamp Counter (TSC) - in this project this name means special microprocessor counter. The counter is called differently on different architectures:

  • time-stamp counter on amd64
  • time base register on PowerPC
  • interval time counter on Itanium

end etc

Note

If target's CPU manufacturer is Intel, recommended take a closer look at Intel Processor Trace

User guide

The most typical scenario is the following:

TODO: https://habr.com/ru/articles/425237/#comment_19197483

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages