aTraffic)) { // Simple counts $text .= "\n
Item | Count | |
---|---|---|
" . $key . " | " . $aVals['Count'] . " | |
Callers: | ";
$bFirst = true;
foreach ($this->aTrafficWho[$key] as $sWho)
{
if ($bFirst)
{
$bFirst = false;
}
else
{
$text .= " \n"; } $text .= $sWho; } $text .= " |
Item | Count | Tot Time (ms) | Avg Time (us) | Min Time (us) | Max Time (us) |
---|---|---|---|---|---|
" . $key . " | " . $aVals['Count'] . " | "; if ($aVals['Count'] && isset($aVals['Time']) && $aVals['Time']) { $sTot = number_format($aVals['Time'] * 1000.0, 4); $sAvg = number_format($aVals['Time'] * 1000000.0 / $aVals['Count'], 1); $sMin = number_format($aVals['Min'] * 1000000.0, 1); $sMax = number_format($aVals['Max'] * 1000000.0, 1); } else { $sTot = $sAvg = $sMin = $sMax = ''; } $text .= "" . $sTot . " | " . $sAvg . " | " . $sMin . " | " . $sMax . " |
Callers: | ";
$bFirst = true;
foreach ($this->aTrafficWho[$key] as $sWho)
{
if ($bFirst)
{
$bFirst = false;
}
else
{
$text .= " \n"; } $text .= $sWho; } $text .= " | ||||
Note: These times have been decreased by the calibration offset: $cal2 usec per call(start,stop); $cal1 usec per call(start). Total adjustment: $cTot msec. |