class RailsBand::BaseEvent

def initialize(event)

Parameters:
  • event (ActiveSupport::Notifications::Event) --
def initialize(event)
  @event = event
  @name = event.name
  @time = event.time
  @end = event.end
  @transaction_id = event.transaction_id
  @cpu_time = event.cpu_time
  @idle_time = event.idle_time
  @allocations = event.allocations
  @duration = event.duration
end