Updates the stopwatch data in the profile hierarchy.
string $token Profile token:
Boolean $updateChildren Whether to update the children altogether:
private function updateProfiles($token, $updateChildren) {
if (!$this->profiler || !($profile = $this->profiler
->loadProfile($token))) {
return;
}
$this
->saveInfoInProfile($profile, $updateChildren);
}