Jump to content

  • Log In with Google      Sign In   
  • Create Account

Expensive Operations


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 UStink2Me   Members   -  Reputation: 122

Like
Likes
Like

Posted 07 November 1999 - 11:27 PM

How do you determine how expensive an operation is? Can someone list their expense (including integer and floating point). Also, what chips have dedicated floating point processors onboard? Does this change you answer, above? thanks

Sponsor:

#2 Niels   Members   -  Reputation: 122

Like
Likes
Like

Posted 07 November 1999 - 11:27 PM

While it is possible to "count" the number of cycles a piece of code uses, it is both diffcult and inaccurate. Pipelining, cache and processor differences may make you measurements on one PC wildly inaccurate on another.

My best suggestion is to use a good profiler, and run it on as many platforms as you can get your hands on.

If you really want to get dirty, Intel has a tool the gets into the nitty gritty (VTune) + gives away processor docs for free (2-3 CDs full of it). That should keep you occupied for a while, or at least convince you to take another approach

/Niels





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS