Function js::jsapi::JS_DefineProfilingFunctions [] [src]

pub unsafe extern "C" fn JS_DefineProfilingFunctions(
    cx: *mut JSContext,
    obj: HandleObject
) -> bool

Add various profiling-related functions as properties of the given object. Defined in builtin/Profilers.cpp.