Utility functions that can potentially be accelerated by native_support functions.
Wrapper for getrusage().
# File lib/phusion_passenger/utils/native_support_utils.rb, line 41 def process_times return PhusionPassenger::NativeSupport.process_times end
Split the given string into an hash. Keys and values are obtained by splitting the string using the null character as the delimitor.
# File lib/phusion_passenger/utils/native_support_utils.rb, line 36 def split_by_null_into_hash(data) return PhusionPassenger::NativeSupport.split_by_null_into_hash(data) end