Method: Sentry::Profiler#start
- Defined in:
- lib/sentry/profiler.rb
#start ⇒ Object
31 32 33 34 35 36 37 38 39 40 |
# File 'lib/sentry/profiler.rb', line 31 def start return unless @sampled @started = StackProf.start(interval: DEFAULT_INTERVAL, mode: :wall, raw: true, aggregate: false) @started ? log("Started") : log("Not started since running elsewhere") end |