Class: Appsignal::NilGarbageCollectionProfiler Private

Inherits:
Object
  • Object
show all
Defined in:
lib/appsignal/garbage_collection_profiler.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.

NilGarbageCollectionProfiler is a dummy profiler that always returns 0 as the total time. Used when we don't want any profile information

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.



57
58
59
# File 'lib/appsignal/garbage_collection_profiler.rb', line 57

def total_time
  0
end