Ejemplo n.º 1
0
 protected function addColumns($run, $runXCols)
 {
     $awgWtSymbol = new S($run->name . '_wtms_avg');
     $this->avgWtSymbols[] = $awgWtSymbol;
     $this->expr->select('0.001 * ? / ? AS ?', $runXCols->wallTime, $run->count, $awgWtSymbol);
     $this->expr->select('0.001 * ? / ? AS ?', $runXCols->cpu, $run->count, new S($run->name . '_cpums_avg'));
     $this->expr->select('? AS ?', $runXCols->runs, new S($run->name . '_runs'));
     $this->expr->select('? AS ?', $runXCols->count, new S($run->name . '_calls'));
     $this->expr->select('0.001 * ? / ? AS ?', $runXCols->wallTime, $runXCols->count, new S($run->name . '_call_wt'));
     $this->expr->select('100 * ? / ? AS ?', $runXCols->wallTime, $run->wallTime, new S($run->name . '_wt_percent'));
 }