Show
Ignore:
Timestamp:
05/14/08 22:07:42 (7 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1210802862 +0000
git-parent:

[b927b3bbf9eeab57dc26e56d2eddfea8cc199a49]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1210802862 +0000
Message:

support derivatives in the metric encoding as d-

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • ui/web/htdocs/generic_settings.php

    r75fdd0c r0795344  
    1616 
    1717foreach(split(",", $_GET['metric']) as $m) { 
    18   preg_match('/^(n|t)-([0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12})-(.*)$/', $m, 
     18  preg_match('/^(d|n|t)-([0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12})-(.*)$/', $m, 
    1919             $matches); 
    2020  if($matches[1] == 'n') 
    2121    $driver->addDataSet($matches[2], $matches[3], 'false', null, array('expression' => '$this->bw($value)')); 
     22  else if($matches[1] == 'd') 
     23    $driver->addDataSet($matches[2], $matches[3], 'true', null, array('expression' => '$this->bw($value)')); 
    2224  else 
    2325    $driver->addChangeSet($matches[2], $matches[3]);