Added get_profiling_info method to the Event class