lib/easy_prof/profile_instance.rb in easy-prof-1.1.1 vs lib/easy_prof/profile_instance.rb in easy-prof-1.1.2
- old
+ new
@@ -22,9 +22,11 @@
@current_memory_usage = memory_usage
", #{format_memory_size(total_memory_usage)}"
end
buffer_checkpoint("progress: %0.4f s#{ar_instances_count}#{memory_usage_value} [#{message}]" % progress)
+
+ return progress
end
# Sets a profiling checkpoint without execution time printing.
#
# Parameters: