Adding Java API for resetting the perf logger and generating a report.