This function reads in profiling outputs from MPI-using R code and stores
the output in a prof
class object. The reading is managed by the
base::readLines()
function. The user does not need to specify the
type of profiler output being used (e.g., whether the profiler text is from
fpmpi, mpiP, etc.).
Additionally, this method automatically parses the output into a condensed,
manageable dataframe (the parsed
slot of the prof
class).