Simple profiling interface.