pub fn write_to_string() -> Result<String, Box<dyn Error>>
profiling
Returns the pretty printed output of the collected profiling data as a String
String