Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Do in C++ please: You will develop five benchmarks. The details of the benchmarks are as follows: - 32-bit Integer operation benchmark (reference time: 100

Do in C++ please:

image text in transcribed

You will develop five benchmarks. The details of the benchmarks are as follows: - 32-bit Integer operation benchmark (reference time: 100 seconds) - 1010 additions (of integer constants) - 5109 multiplication (of integer constants) - 2109 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 5109 different array elements, 4 bytes each time - Write to 5109 different array elements, 4 bytes each time - Hard drive benchmark 1 (reference time: 250 seconds) - Read a whole file of 109 bytes, 100 bytes each time - Write 109 bytes to a file, 100 bytes each time - Hard drive benchmark 2 (reference time: 10 seconds) - Read a whole file of 109 bytes, 10000 bytes each time - Write 109 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

Focus On Geodatabases In ArcGIS Pro

Authors: David W. Allen

1st Edition

1589484452, 978-1589484450

More Books

Students also viewed these Databases questions