Coder Social home page Coder Social logo

High CPU usage about cwinperfcounter HOT 4 CLOSED

marcominetti avatar marcominetti commented on July 29, 2024
High CPU usage

from cwinperfcounter.

Comments (4)

SkyLined avatar SkyLined commented on July 29, 2024

I'm on holiday at the moment and won't be near a computer for another week
and a half.

it's supposed to be quick; I poll CPU usage tens of times a second without
any significant CPU usage.

I'd need mode details to guess what's going wrong for you, such as the type
of hardware you're using and which counters you're polling.

cheers,

SkyLined
On May 14, 2015 11:35 AM, "Marco Minetti" [email protected] wrote:

Hi there, I'm trying to poll three perfcounter instances every 1000ms...
It seems that the fnGetValue is CPU hungry... is that normal (performance
counters are CPU hungry) or is there any optimization to be done? any hints?


Reply to this email directly or view it on GitHub
#1.

from cwinperfcounter.

marcominetti avatar marcominetti commented on July 29, 2024

Enjoy your holidays, hope hearing from u when back. Cheers!

from cwinperfcounter.

SkyLined avatar SkyLined commented on July 29, 2024

I'm back from holiday, but I cannot help you unless you give me the details I requested. A copy of your code may also shed some light on the issue.

from cwinperfcounter.

marcominetti avatar marcominetti commented on July 29, 2024

I was pasting my code and I've just caught that a leftover was causing performance counter get value every ms....... ;S Sorry! LOL

from cwinperfcounter.

Related Issues (3)

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.