Solved

Thread times under WIN95 ???? (reference)

Posted on 1998-06-09
7
168 Views
Last Modified: 2010-04-01
Would you like a 450 pts ? see this Q:

http://www.experts-exchange.com/jsp/qShow.jsp?ta=win95&qid=10054555 

I need to know how many % of power CPU use my process (I need to show it, I don't need WinTop or GetThreadTimes fn. under NT)...

  Thanx for HELP !
0
Comment
Question by:rayofunreal
  • 4
  • 2
7 Comments
 

Expert Comment

by:hlava
ID: 1165553
i think that there will be some hidden Windows function,because the multitaskink.
you can ask for it and get this number of global % use of cpu
try ask the microsoft may be they help you
0
 
LVL 1

Author Comment

by:rayofunreal
ID: 1165554
I tryied.... No answer.... Is anywhere any another "discusion" or where it is no microsoft's web ?
0
 

Expert Comment

by:hlava
ID: 1165555
???
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Author Comment

by:rayofunreal
ID: 1165556
hlava ? vslib.cz ? tak proc ????
0
 
LVL 1

Author Comment

by:rayofunreal
ID: 1165557
I tryied MSDN.... But I don'w relly know, if they received my answer.. can you help me with this ? Where I can post my quetion ? I search microsoft.com, but it is ugly to find it.....


   Thanx !
0
 
LVL 4

Accepted Solution

by:
agreen earned 0 total points
ID: 1165558
All that you need is to use two functions: QueryPerformanceCounter and QueryPerformanceFrequency. for additional information read the "Win32 Multithreading Performance" MSDN's article. You can find it there:

http://premium.microsoft.com/msdn/library/techart/msdn_threadli.htm

0
 
LVL 1

Author Comment

by:rayofunreal
ID: 1165559
Thanx again ;-)

   Have a nice day,

                     Ray

ps:try MP3.musichall.cz/Pulse :-) for this app I need it ;-))
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question