For Half Life 2 for example
Go to Options, Controls, and go to advanced. Click the tickbox to enable the Developers console using the (~) button. You then simply run the game, click the button, and then to make it show fps, type in:
cl_showfps 1
*KaGe*