How I Calculate An x86 CPU FLOPs

My friend and I have been taking some performance engineering courses. One thing we&rsquo;ve come to realize is how important calculating the maximum Floating-point Operations per second (FLOPs) of a CPU is. It turns out this is a little trickier than it looks. This is a formula I use to calculate this value. The formula is number of cores * peak cpu speed * (max SIMD register size/32) * (fma…