Skip to content

The effort to convert TSC ticks into the nanoseconds #85

@ujos

Description

@ujos

In the book on the page 33 you mention TSC as a tool to measure the time. The problem is, there is no easy way to convert TSC ticks into the nanoseconds. I haven't found one function that works on the user level (without elevated privileges). The only way is to call QueryPerformanceCounter, then sleep, then call QueryPerformanceCounter again and measure the delta. The result is not precise.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions