diff --git a/src/web/pipeline_performance.php b/src/web/pipeline_performance.php new file mode 100755 index 00000000..20293eba --- /dev/null +++ b/src/web/pipeline_performance.php @@ -0,0 +1,347 @@ + + // Olin Neuropsychiatry Research Center, Hartford Hospital + // ------------------------------------------------------------------------------ + // GPLv3 License: + + // This program is free software: you can redistribute it and/or modify + // it under the terms of the GNU General Public License as published by + // the Free Software Foundation, either version 3 of the License, or + // (at your option) any later version. + + // This program is distributed in the hope that it will be useful, + // but WITHOUT ANY WARRANTY; without even the implied warranty of + // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + // GNU General Public License for more details. + + // You should have received a copy of the GNU General Public License + // along with this program. If not, see . + // ------------------------------------------------------------------------------ + + define("LEGIT_REQUEST", true); + + session_start(); +?> + + + + + NiDB - Pipeline performance + + + +
+ + +

Pipeline performance

+

+ +
+
+
Loading
+
+
+ + + + ''"; + //PrintSQL($sqlstring); + $result = MySQLiQuery($sqlstring,__FILE__,__LINE__); + while ($row = mysqli_fetch_array($result, MYSQLI_ASSOC)) { + //$analysis_id = $row['analysis_id']; + $analysistimes[] = $row['analysis_time']; + $clustertimes[] = $row['cluster_time']; + } + if (count($clustertimes) == 0) { + $clustertimes[] = 0; + } + if (count($analysistimes) == 0) { + $analysistimes[] = 0; + } + + MarkTime("Info Tab - H"); + + ?> +
+
+
+
Analysis Statistics
+
Total numbers of analyses for each status
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
StatusCount
Completed
Completed successfully
Processing
Pending
Error
+
+
+
+ +
+
+
Compute performance
+
Analysis compute time per cluster node
+
+
Total CPU time hrs
+
+ + + + + + + + + + + + + + + + +
Computing performance
Successful analyses only
HostnameAvg CPU (hours)Count
+
+
+
+ +
+
+
Disk usage
+
Total disk usage
+
+ +
+
+
+
+ +
+
+
Timeline
+
Analysis compute time by date
+
+ + + + + + + + + + +
DateAvg CPU (hours)Avg setup (hours)Count
+
+
+
+ +
+ +

+ + + +
+ + +