pub fn get_stats() -> Option<Stats>
Get current stats. Returns None if called before Dhat::start_heap_profiling or Dhat::start_ad_hoc_profiling is called.
None
Dhat::start_heap_profiling
Dhat::start_ad_hoc_profiling