@@@ pull in concepts and methods from http://www.rdrop.com/users/paulmck/scalability/paper/profiling.2002.06.04.pdf. Also need tools work.