Click here to Skip to main content
15,921,884 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralImage manipulation Pin
3-Mar-02 9:11
suss3-Mar-02 9:11 
GeneralRe: Image manipulation Pin
Christian Graus3-Mar-02 9:16
protectorChristian Graus3-Mar-02 9:16 
GeneralOpening an access database in VC++ Pin
shypht3-Mar-02 8:36
shypht3-Mar-02 8:36 
GeneralRe: Opening an access database in VC++ Pin
Michael P Butler3-Mar-02 9:48
Michael P Butler3-Mar-02 9:48 
GeneralRe: Opening an access database in VC++ Pin
shypht3-Mar-02 12:26
shypht3-Mar-02 12:26 
GeneralRe: Opening an access database in VC++ Pin
Phil J Pearson4-Mar-02 4:23
Phil J Pearson4-Mar-02 4:23 
Questiondetermine cpu time of a process ? Pin
3-Mar-02 8:15
suss3-Mar-02 8:15 
AnswerRe: determine cpu time of a process ? Pin
alex.barylski3-Mar-02 9:10
alex.barylski3-Mar-02 9:10 
The short answer to this problem is NO. I was recently interested in doing this myself and have concluded this is not possible under win98/Me. Ths API functions work under nt/2k/xp only!!!

If you want the clocks used by the current process thats a little easier, but I wouldn't imagine very accurate...per function is a snap and probably dead on (depending on the method you use).

Inorder to get system wide processor useage I figure you'd have to write a device driver and record start and stop clocks between task switches. This isn't easy.

If you don't require real-time processor useage though...you can use your systems tools (system monnitor) and create a log file. Then load the log into yer app and display and view the data as nessecary.

"An expert is someone who has made all the mistakes in his or her field" - Niels Bohr
GeneralRe: determine cpu time of a process ? Pin
3-Mar-02 9:48
suss3-Mar-02 9:48 
GeneralRe: determine cpu time of a process ? Pin
alex.barylski3-Mar-02 13:46
alex.barylski3-Mar-02 13:46 
Generalmerge sort Pin
3-Mar-02 5:46
suss3-Mar-02 5:46 
GeneralRe: merge sort Pin
Michael Dunn3-Mar-02 7:25
sitebuilderMichael Dunn3-Mar-02 7:25 
Generalplease.........................please..................... Pin
3-Mar-02 4:49
suss3-Mar-02 4:49 
GeneralRe: please.........................please..................... Pin
Tim Smith3-Mar-02 5:10
Tim Smith3-Mar-02 5:10 
Generalhere is one memory leak Pin
3-Mar-02 5:11
suss3-Mar-02 5:11 
GeneralRe: here is one memory leak Pin
Christian Graus3-Mar-02 9:02
protectorChristian Graus3-Mar-02 9:02 
GeneralRe: Thanks i got the solution Pin
5-Mar-02 4:08
suss5-Mar-02 4:08 
GeneralRe: Thanks i got the solution Pin
5-Mar-02 4:08
suss5-Mar-02 4:08 
GeneralVSS Header comments Pin
Darren Schroeder3-Mar-02 4:39
Darren Schroeder3-Mar-02 4:39 
GeneralRe: VSS Header comments Pin
Anders Molin3-Mar-02 4:43
professionalAnders Molin3-Mar-02 4:43 
Questionusing namespace std; <-- is evil? Pin
Travis D. Mathison3-Mar-02 4:28
Travis D. Mathison3-Mar-02 4:28 
AnswerRe: using namespace std; <-- is evil? Pin
Todd Smith3-Mar-02 4:41
Todd Smith3-Mar-02 4:41 
AnswerRe: using namespace std; <-- is evil? Pin
Tim Smith3-Mar-02 5:00
Tim Smith3-Mar-02 5:00 
AnswerRe: using namespace std; <-- is evil? Pin
Travis D. Mathison3-Mar-02 5:07
Travis D. Mathison3-Mar-02 5:07 
AnswerRe: using namespace std; <-- is evil? Pin
Felix Cho3-Mar-02 12:37
Felix Cho3-Mar-02 12:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.