class Sentry::Vernier::Profiler

def to_hash

def to_hash
  unless @sampled
    record_lost_event(:sample_rate)
    return EMPTY_RESULT
  end
  return EMPTY_RESULT unless result
  { **profile_meta, profile: output.to_h }
end