Measuring time, Compilers

Write a C program that multiplies two squared matrices A and B of size N (NxN). The matrices consist of double-precision elements. The program should accept the matrix size, N, as a parameter; initialize the matrices using a random number generator; and find the resulting matrix C=A*B. The resulting matrix should be written to a binary file (please delete this file after the execution of your program).

Create two executables, one created by the gcc compiler (optimization level –3) and one created by the Intel compiler (with optimization level –fast).

(a) Measure the entire program execution times as a function of matrix size (N=512, 1024, 1536, and 2048). Plot your results as a function of N (plot should include two lines, one for the gcc executable and one for the icc executable).

(b) Instrument your code and measure the execution time of the critical loop that finds the resulting matrix. Plot your results as a function of N.

Skills: PHP, Software Architecture

See more: gcc random number generator, gcc random, binary elements, day time super fast super fast captcha entry, time measuring gstreamer, time measuring delphi, night time workers fast captcha server, windows boot time measuring, part time work fast typers, perl script measure website loading time, 62wpm fast typing time, fast export host host time, time measure aspnet

About the Employer:
( 1 review ) Huntsville, United States

Project ID: #9460310

5 freelancers are bidding on average $43 for this job


Hi, I have strong background in C and experience in Programming. Let me help you. I am ready to start. Please send me a message so we can discuss.

$61 USD in 3 days
(31 Reviews)

I am application developer with 3+ years of experience. I am interested in this job I am proficient in C programming and can do it in 1 day . I am available for the interview.

$77 USD in 1 day
(6 Reviews)

I have read over your project description and I'm interested in completing your task. If you check my site or portfolio you will see that I am of a higher quality than most freelancers on here. I get it done quickly, e More

$34 USD in 1 day
(14 Reviews)

Hi. I am ready. Regards, Dmitriy

$50 USD in 3 days
(1 Review)

Hi, I have 11 years of experience and understood well your requirement. I shall give it within single day. -Anurag

$35 USD in 1 day
(3 Reviews)

I can get this done in couple of days. Any specific requirements on the coding style? I will put comments in the code which will make it self explanatory.

$35 USD in 2 days
(0 Reviews)