This URL is http://www.stewart.cs.sdsu.edu/cs575/lecs/ch6.html
There are tools to allow the programmer to easily time an entire program, or any UNIX command, when in the csh, we can get the runtime to run an executable named diffusion at the command line with
time diffusion