Giter Site home page Giter Site logo

Comments (1)

fizzyade avatar fizzyade commented on May 30, 2024 2

It depends on what the timing source is.

The ICMPPingEngine uses QElapsedTimer to measure the duration and the source for that is determined by Qt/the OS, my use case was never for seeing pings that low since I was interested in the ping times to an external host.

You'd need to look at QElapsedTImer and determine what timer it is actually using, assuming that it's purely the timer and not some other processing, Pingnoo is multithreaded because has to have pings running with different TTL concurrently and therefore each reply requires a map lookup to find the ping request that matches the response we just got.

If it's purely a timer issue then it would require per-os specific code to make use of whatever high performance counter the OS supplies, I use QElapsedTimer because it works everywhere, but it will give different results on different platforms because it's at the mercy of whatever timer Qt decided to bind it to.

from pingnoo.

Related Issues (20)

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.