- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you!! ................Urgent needed!!
Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What processor are you trying to do this on?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am sorry. I think I have made a mistake. I need to count the floating point operation in my code. I have a PC with Pentium III and a PC with Pentium IV. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
On the Pentium 4 you can use the event x87 Instructions Retired. On the PIII you can use the event FP Operations Retired. However these will not give you a true meaning of FLOPs since they do not count floating point calculations using the SSE and SSE2 instructions (Pentium 4 only). Generally when calculating FLOPs you looking at you algorithm at a high level and see how many floating point operations there are per iteration. Than you multiply that by the total interations and divide by the execution time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you so much! I only need the number of floating point operations in my code. So I needn't divide by the excutive time, right?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Correct
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page