added support for printing profiling information