module PhusionPassenger::Utils::NativeSupportUtils
Utility functions that can potentially be accelerated by native_support functions.
Constants
- NULL
Public Instance Methods
process_times()
click to toggle source
Wrapper for getrusage().
# File lib/phusion_passenger/utils/native_support_utils.rb, line 41 def process_times return PhusionPassenger::NativeSupport.process_times end
split_by_null_into_hash(data)
click to toggle source
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