Function JS_DefineProfilingFunctions

Source
pub unsafe extern "C" fn JS_DefineProfilingFunctions(
    cx: *mut JSContext,
    obj: Handle<*mut JSObject>,
) -> bool
Expand description

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