How's about a distinction between "Hardware" and "Software" intelligence?

Hardware is the speed at which you process information. How fast your brain works. This is changed by things like caffeine (I think) and nicotine and crack.

Software is the strategies you use in processing information and solving probelms. This is changed by things like learning and practice.

Which one should IQ tests measure?