write VALUES sepearated list in the following format: {key}={value}
Example: cts.pl w reg0=0x12, trg_coin_config0.window=10
- m [file] | Rate Monitor. Periodically fetch counters and calculate
- monitor [file] rates. Results are send to STDOUT in an human readable form.
- If [file] is provided the data is additionally dumped into
- [file].js in the JSON format. Further a trigger rate plot
- is stored in [file].jpg
+ m [dir] | Rate Monitor. Periodically fetch counters and calculate
+ monitor [dir] rates. Results are send to STDOUT in an human readable form.
+ If [dir] is provided the data is additionally dumped into
+ in the JSON format. Further a trigger rate plot
+ is stored in [file].svg
END_MSG
}
$cts->getTrb->stopCachedWrites();
- print "1";
+ print "1;";
}
1;
<tr class="alt">
<td class="label">Trigger asserted</td>
<td class="value autorate autoratevalue" slice="cts_cnt_trg_asserted.value" suffix=" clks.">n/a</td>
- <td class="rate autorate" slice="cts_cnt_trg_asserted.value" suffix=" s<sup>-1</sup>">n/a</td>
+ <td class="rate autorate" slice="cts_cnt_trg_asserted.value">n/a</td>
<tr>
<tr>
<td class="label">Trigger rising edges</td>
<td class="value autorate autoratevalue" slice="cts_cnt_trg_edges.value" suffix=" edges">n/a</td>
- <td class="rate autorate" slice="cts_cnt_trg_edges.value" suffix=" Hz">n/a</td>
+ <td class="rate autorate" slice="cts_cnt_trg_edges.value">n/a</td>
<tr>
<tr class="alt">
<td class="label">Trigger accepted</td>
<td class="value autorate autoratevalue" slice="cts_cnt_trg_accepted.value" suffix=" events">n/a</td>
- <td class="rate autorate" slice="cts_cnt_trg_accepted.value" suffix=" Hz">n/a</td>
+ <td class="rate autorate" slice="cts_cnt_trg_accepted.value">n/a</td>
<tr>
<tr>
e.set('value', parseCallback(e, 'format')(value, undefined, e));
}
}
-
+
tmp[s.exp] = value;
e.valueOnEnter = e.get('value');
edgeType.format = edgeType.interpret = function(x, y, t) {
if (!t) t = y;
- x = x ? 1 : 0;
+ x = parseInt(x) ? 1 : 0;
var tds = t.getParent().getParent().getElements('td.rate');
tds[x].addClass('active');
tds[(x+1)%2].removeClass('active');
my $data = $_[2];
if (not ref $data) {
- printf "// w 0x%04x 0x%04x 0x%08x\n", $self->getEndpoint, $address, $data;
+# printf "// w 0x%04x 0x%04x 0x%08x\n", $self->getEndpoint, $address, $data;
if ($self->{'_cached_writes'}) {
$self->{'_write_cache'}{$address} = $data;
} else {
}
-1;
\ No newline at end of file
+1;