Class: Appsignal::GarbageCollection::NilProfiler Private

Inherits:
Object
  • Object
show all
Defined in:
lib/appsignal/garbage_collection.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

A dummy profiler that always returns 0 as the total time. Used when GC profiler is disabled.

Instance Method Summary collapse

Instance Method Details

#total_timeObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



85
86
87
# File 'lib/appsignal/garbage_collection.rb', line 85

def total_time
  0
end