added function to get event profiling information
Merge pull request #23 from csherratt/events

Expose profiling infromation.
Merging with master.