discussion forum
message
| Name: |
rbkrf |
| eMail: |
rbkrf@go2.pl |
| Date: |
April 23, 2004 at 07:56:01 |
| Subject: |
Re: looking for a program can test a program's clock cycles. |
| In Reply To: |
looking for a program can test a program's clock cycles. by cnneo on April 16, 2004 at 01:36:17 |
| Text: |
| can anyone send/tell me which program can Test programs for measuring clock cycles? | | i'm not good at english, if my question make you confused, i'm sorry. | Use RDTSC for small portions of code (small equals smaller then prefetch, including the RDTSC opcode). If you use this instruction for bigger code OR/AND in multitasking enviroment you will get false results (only way to overcoming this problem are many tests, with use of some mathematical statistics). And you can always use the debugger+scratch of paper method (for very stubborn people, who like adding many small numbers:) ). I STRONGLY RECOMMEND Intel's VTune program, if you don't know what I'm talking about. |
post a followup message
(Be nice... or be blocked. Be technical... or be erased.)
currently posted followup messages
(You may have to press the RELOAD button of your browser.)
|