public static function recordFunctionTimingForGroup($function, $group) {

        $functionTiming = CodeTimer::time($function);
        if (isset(CodeTimer::$groupTimings[$group])) {
            CodeTimer::$groupTimings[$group] += $functionTiming;
        } else {
            CodeTimer::$groupTimings[$group] = $functionTiming;
        }
    }
public static function recordFunctionTimingForGroup($function, $group) {

        $functionTiming = CodeTimer::time($function);
        if (isset(CodeTimer::$groupTimings[$group])) {
            CodeTimer::$groupTimings[$group] += $functionTiming;
        } else {
            CodeTimer::$groupTimings[$group] = $functionTiming;
        }
    }
public static function recordFunctionTimingForGroup ( $ function , $ group ) { $ functionTiming = CodeTimer :: time ( $ function ) ; if ( isset ( CodeTimer :: $ groupTimings [ $ group ] ) ) { CodeTimer :: $ groupTimings [ $ group ] += $ functionTiming ; } else { CodeTimer :: $ groupTimings [ $ group ] = $ functionTiming ; } }
Record the timing of a passed function against a group.  All Timings for a group are added up.

@param $function
@param $group
Record the timing of a passed function against a group . All Timings for a group are added up .