Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Develop five benchmarks. The details of the benchmarks are as follows: 32-bit Integer operation benchmark (reference time: 100 seconds) - 10 10 additions (of integer

Develop five benchmarks. The details of the benchmarks are as follows: 32-bit Integer operation benchmark (reference time: 100 seconds) - 10 10 additions (of integer constants) - 5 10 9 multiplication (of integer constants) - 2 10 9 division (of integer constants) 64-bit Floating point operation benchmark (reference time: 100 seconds) - Same as integer, use double precision floating point numbers instead of integer. Memory benchmark (reference time: 100 seconds) - Read from 5 10 9 different array elements, 4 bytes each time - Write to 5 10 9 different array elements, 4 bytes each time Hard drive benchmark 1 (reference time: 250 seconds) - Read a whole file of 10 9 bytes, 100 bytes each time. - Write 10 9 bytes to a file, 100 bytes each time. Hard drive benchmark 2 (reference time: 10 seconds) - Read a whole file of 10 9 bytes, 10000 bytes each time - Write 10 9 bytes to a file, 10000 bytes each time. Each benchmark will output the total execution time of the benchmark. Note that the benchmark must NOT do any operations other than what is specified above. The output should be done only once at the end of the program.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

C++ Database Development

Authors: Al Stevens

1st Edition

1558283579, 978-1558283572

More Books

Students also viewed these Databases questions