You are here

public static function XHProfAggregator::sd_square in XHProf 7

Same name and namespace in other branches
  1. 6 XHProfLib/XHProfAggregator.php \XHProfAggregator::sd_square()

File

XHProfLib/XHProfAggregator.php, line 92

Class

XHProfAggregator

Code

public static function sd_square($x, $mean) {
  return pow($x - $mean, 2);
}