src/precore/util/ProfilerRegistry.php
public function register(string $name, Profiler $profiler) : void
    {
        $this->profilers[$name] = $profiler;
    }
public function register(string $name, Profiler $profiler) : void
    {
        $this->profilers[$name] = $profiler;
    }
Should not be called directly. Intended to use from {@link Profiler::startNested()}.

@param string $name
@param Profiler $profiler