added function to get event profiling information