}
}
+ if ($prop->{'trb_compiletime'} > 1415039170) {
+ eval {
+ $regs->{'cts_cnt_total_dead_time'} = TrbRegister->new(0x0e + $debug_block, $trb, {}, {
+ 'accessmode' => "ro",
+ 'label' => "Total Dead Time Counter",
+ 'monitorrate' => 1
+ });
+ $regs->{'cts_cnt_total_dead_time'}->read();
+ 1;
+ } and do {
+ $prop->{'cts_cnt_total_dead_time'} = 1;
+ }
+ }
}
1;
<td class="value autoupdate" slice="cts_cnt_dead_time.value" format="countToTime" suffix=" ns">n/a</td>
<td class="rate autoupdate" slice="cts_cnt_dead_time.value" format="countToFreq">n/a</td>
<tr>
+
+ <tr id="cnt_total_dead_time_row">
+ <td class="label">Total Dead Time</td>
+ <td class="rate autorate" slice="cts_cnt_total_dead_time.value" format="countToTime" suffix=" ns">n/a</td>
+ <td class="rate autorate" slice="cts_cnt_total_dead_time.value" format="rateToRatio">n/a</td>
+ <tr>
<tr>
<td colspan="3"> </td>
this.initEventBuilderRR();
+ if (!this.defs.properties.cts_cnt_total_dead_time) {
+ $('cnt_total_dead_time_row').destroy();
+ }
+
this.initAutoCommit();
this.initSliceTitle();
},
function countToFreq(val) {return formatFreq (1 / (val / cts.defs.properties.cts_clock_frq)); }
function timeToCount(val) {return (parseNum(val) / 1.0e9 * cts.defs.properties.cts_clock_frq).round();}
function rateToFrac(val) {return appendScalingPrefix(val) + 'cnt/s'}
+function rateToRatio(val) {return (val / 1e6).toFixed(1) + '%';}
function formatFreq(val, sigDigits) {
return appendScalingPrefix(val, sigDigits) + "Hz";