profile parallelism of a program execution.