File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 111111$ maxWidth = 0 ;
112112$ maxHeight = 0 ;
113113$ zoneCount = 0 ;
114- $ total_capturing_bandwidth =0 ;
114+ $ total_capturing_bandwidth = 0 ;
115+ $ total_fps = 0 ;
116+ $ total_analysis_fps = 0 ;
115117
116118$ status_counts = array ();
117119for ( $ i = 0 ; $ i < count ($ displayMonitors ); $ i ++ ) {
430432 if ( isset ($ monitor ['AnalysisFPS ' ])) {
431433 // and ($monitor['Analysing'] != 'None')) {
432434 $ fps_string .= '/ ' . $ monitor ['AnalysisFPS ' ];
435+ $ total_analysis_fps += $ monitor ['AnalysisFPS ' ];
433436 }
434437 if ($ fps_string ) $ fps_string .= ' fps ' ;
435438 if (!empty ($ monitor ['CaptureBandwidth ' ]))
436439 $ fps_string .= ' ' . human_filesize ($ monitor ['CaptureBandwidth ' ]).'/s ' ;
437440 $ total_capturing_bandwidth += $ monitor ['CaptureBandwidth ' ];
441+ $ total_fps += $ monitor ['CaptureFPS ' ];
438442 echo $ fps_string ;
439443 echo '</div> ' ;
440444 } # end if offline
471475 <td class="colId"><?php echo translate ('Total ' ).": " .count ($ displayMonitors ) ?> </td>
472476<?php } ?>
473477 <td class="colName"></td>
474- <td class="colFunction"><?php echo human_filesize ($ total_capturing_bandwidth ).'/s ' ?> </td>
478+ <td class="colFunction"><?php echo human_filesize ($ total_capturing_bandwidth ).'/s ' .
479+ $ total_fps .' fps / ' .$ total_analysis_fps .' fps ' ?> </td>
475480<?php if ( count ($ Servers ) ) { ?>
476481 <td class="colServer"></td>
477482<?php } ?>
You can’t perform that action at this time.
0 commit comments