Matrix Multiplication Processor Usage?

I wrote some code that multiplies matrices size 10x10 through 1000x1000. It took approx 2021 seconds to run. By my math it did at least a total of 260 billion operations coming out to about 129 million per second. Yet the theoretical speed of 1 core of the processor it ran on (x5550) is 10Gflops. Does Ram/OS/Background task really cause a program to only use 2% of the theoretical speed??

Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments

Helpful Social

Copyright © 2024 Q2A.ES - All rights reserved.