Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. CPU time

CPU time

Scheduled Pinned Locked Moved C / C++ / MFC
6 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vc _fragrance
    wrote on last edited by
    #1

    Hi everybody, Can u please say How can we calculate the CPU time taken by a thread and a process. Thanks in advance,

    H 1 Reply Last reply
    0
    • V vc _fragrance

      Hi everybody, Can u please say How can we calculate the CPU time taken by a thread and a process. Thanks in advance,

      H Offline
      H Offline
      Hamid Taebi
      wrote on last edited by
      #2

      Is GetProcessTimes helpfuls?if no and you want a good example you find your answer on examples of MSDN If I remember its name is PVIEWER(not sure) but its very good example you can see detaily of each process that is detailed but also you can see a good example on the codeproject of David Crow here[^]


      WhiteSky


      V 1 Reply Last reply
      0
      • H Hamid Taebi

        Is GetProcessTimes helpfuls?if no and you want a good example you find your answer on examples of MSDN If I remember its name is PVIEWER(not sure) but its very good example you can see detaily of each process that is detailed but also you can see a good example on the codeproject of David Crow here[^]


        WhiteSky


        V Offline
        V Offline
        vc _fragrance
        wrote on last edited by
        #3

        Thank you very much Whitesky. I wish you a happy new year.

        H 1 Reply Last reply
        0
        • V vc _fragrance

          Thank you very much Whitesky. I wish you a happy new year.

          H Offline
          H Offline
          Hamid Taebi
          wrote on last edited by
          #4

          Thank you and you tee:),but its early new year is on April in my counry:-D


          WhiteSky


          V 1 Reply Last reply
          0
          • H Hamid Taebi

            Thank you and you tee:),but its early new year is on April in my counry:-D


            WhiteSky


            V Offline
            V Offline
            vc _fragrance
            wrote on last edited by
            #5

            Are you from AP

            H 1 Reply Last reply
            0
            • V vc _fragrance

              Are you from AP

              H Offline
              H Offline
              Hamid Taebi
              wrote on last edited by
              #6

              I'm from Iran


              WhiteSky


              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups