0
I want to measure execution time of cpus and compare them like bencmark websites.
as I know we have a formula for the calculate that.
Execution time = CPI * I * 1/CR
But I stuck at the formula. I mean how do we get this data? I'm checking informations of any cpu but never encountered with them . ( specs of i7-6820EQ )
For example how to find cpi (Cycles per instruction ) ? as far as I know it is not something that can be calculated.. beside that, any manufacturer gives nothing about cpi value..
So.. How do I measure execution time of any cpu ? Is there any way to do that ? How benchmark websites doing this ?
Why do you assume that benchmark websites have that information? – Seth – 2018-08-01T09:30:07.027
@Seth good question :) then how they compare cpus without knowing these informations ? How they decide taht which one is better proportionally – Hasan Tıngır – 2018-08-01T09:45:33.363
You run an arbitrary benchmark (the same one on each platform) and compare the numbers you get by running it against each other. – Seth – 2018-08-01T10:05:29.050
@Seth But there are thousands cpu models. I don't have enough time to do that. Instead that, culculating executing times and comparing with each other more helpful for me. (I have big data about cpu models and their specifications..) – Hasan Tıngır – 2018-08-01T10:30:30.737
But you don't have the data you require for those calculations. So just use the regular benchmark data from other sites? If you look at the definition for IPC you will find some more information about how to get it e.g. look for Dhrystone. Essentially you won't get the data you're looking for and in addition it's inaccurate. An AVX512 instruction is a single instruction that's rather complex in comparison to a simple 1+1. So for a given timeframe a CPU just doing 1+1 will have a higher IPC which is useless if you're using AVX.
– Seth – 2018-08-01T10:45:13.163