windows CPU run queue length

This is a discussion on windows CPU run queue length within the C++ Programming forums, part of the General Programming Boards category; Hello there, i understand in unix in order to get the cpu run queue length you use the kstat function ...

  1. #1
    Registered User
    Join Date
    Jul 2010
    Posts
    32

    windows CPU run queue length

    Hello there,
    i understand in unix in order to get the cpu run queue length you use the kstat function call. What is the equivalent for windows?
    any help you can give me would greatly be appreciated
    many thanks

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,607
    What goal are you trying to achieve on Windows?

    gg

  3. #3
    Registered User
    Join Date
    Jul 2010
    Posts
    32
    i just want to display this information, nothing more

  4. #4
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,607
    You'll have to use performance counters.
    Looks like "System - Processor Queue Length" is what you want on Windows.

    You can run "perfmon.msc" to play around with it.

    Performance Counters (Windows)

    gg

  5. #5
    Registered User
    Join Date
    Jul 2010
    Posts
    32
    hi there,
    thanks for gettign back to me, is Processor Queue Length the same as CPU run queue in unix?

  6. #6

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Memory Fragmentation with Dynamic FIFO Queue
    By fguy817817 in forum Linux Programming
    Replies: 17
    Last Post: 10-31-2009, 04:17 AM
  2. Get socket queue length
    By msheldon in forum Linux Programming
    Replies: 4
    Last Post: 08-20-2009, 12:59 AM
  3. Help with FIFO QUEUE
    By jackfraust in forum C++ Programming
    Replies: 23
    Last Post: 04-03-2009, 08:17 AM
  4. Queue implementation
    By kolliash in forum C Programming
    Replies: 1
    Last Post: 06-01-2008, 08:25 AM
  5. Programs run in dos. Why not windows?
    By marcusbankuti in forum C++ Programming
    Replies: 15
    Last Post: 08-11-2002, 07:33 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21