I have a high-speed ADC data capture/analysis program which performs poorly on older computers. This was discovered in beta testing in my customer's lab when one test engineer reported the application was hanging. It turns out that she had an old computer in her lab (single core P4), and the 'hang' was the computer taking a very long time to complete some calculations.
I would like to calculate "computing power" at startup, and warn the customer that some functions will be very slow if the calculated power is below some cut-off point. Note that CPU speed isn't what I'm after (the P4 was running at 2.4 GHz).
I thought that I could just get the CPU family/model/stepping and show the warning if the family/model was below some cut-off point, but I don't think this approach is workable because the family for the P4 is higher than the family for, say, an i7. Using a table is out because the table will have to be maintained.
I could use a benchmark algorithm such as whetstone/Dhrystone/whatever, but I don't want to add any more time to startup than necessary.
Is there another way I can accomplish this without taking an inordinate amount of time at start-up?
TIA