Solved

Thread times under WIN95 ???? (reference)

Posted on 1998-06-09
7
166 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
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 
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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
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 be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

786 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