If you want to set the maximum FPS for the program to allow, use the command:
fps_max "xx"
xx being the number of frames you want to allow, of course
To show how many frames you are getting, you can use:
net_graph 3
Type net_graph 0 to turn it off again.