Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7511171
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T23:27:54+00:00 2026-05-29T23:27:54+00:00

I was wondering if such is possible in the unmanaged C++ code? I’m writing

  • 0

I was wondering if such is possible in the unmanaged C++ code?

I’m writing a program that shows the current CPU usage on the system, but I observed that on some newer desktops when some lengthy hard drive operation is in process (say, like from a background backup process) the CPU usage stays very low (less than 10%) but the system is somewhat slow to use. So I was thinking to add to my program the current HDD usage on a system-wide scale, I’m just not sure what API to use for that.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T23:27:56+00:00Added an answer on May 29, 2026 at 11:27 pm

    You’re looking for the “% Disk Time” performance counter. That indicates the (averaged) fraction of time that the disk is busy servicing requests. If it’s close to 100%, then the CPU will probably be waiting a lot for I/O’s to complete.

    Another option is the “Current Disk Queue Length”. That indicates how many requests are pending, which in turn is a measure of the excess operations (operations issued – operations completed). If there are zero pending operations in the queue, the CPU is not waiting for the disk; if there are tons, then the CPU has nothing to do.

    Of course, if there are low-priority CPU-cound threads, then those will still run while the higher-priority threads are waiting for I/O. Windows won’t waste CPU time just because the disk is busy.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am wondering if such thing is possible: I have a java program that
I'm wondering if it's possible to add functionality to EditText such that when I
I was wondering how to initialise an integer array such that it's size and
I was wondering, if I have some code such as: $result = $db->query($sql); //
I am wondering whether it is even possible or I cannot do such a
I am wondering is it possible to have a list box that has custom
I am wondering if this is possible. My code looks like this: indexStop =
I was wondering if it's possible to store form data such as 'title' and
I was wondering if it is possible somehow to pass meta data, such as
I was wondering if it's possible to get data from apps, such as discussions

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.