summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 37bef71)
raw | patch | inline | side by side (parent: 37bef71)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 24 Aug 2010 15:05:17 +0000 (15:05 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 24 Aug 2010 15:05:17 +0000 (15:05 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19443 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/generic/statistics/chartClasses/class_cpuLoadChart.inc | [new file with mode: 0644] | patch | blob |
gosa-core/plugins/generic/statistics/chartClasses/class_durationTimeChart.inc | [new file with mode: 0644] | patch | blob |
gosa-core/plugins/generic/statistics/chartClasses/class_renderTimeChart.inc | [new file with mode: 0644] | patch | blob |
diff --git a/gosa-core/plugins/generic/statistics/chartClasses/class_cpuLoadChart.inc b/gosa-core/plugins/generic/statistics/chartClasses/class_cpuLoadChart.inc
--- /dev/null
@@ -0,0 +1,21 @@
+<?php
+
+class cpuLoadChart extends memoryUsageChart
+{
+ var $title = 'CPU load';
+ var $enableCaching = TRUE;
+
+ function __construct(&$config)
+ {
+ parent::__construct($config);
+ $this->graphName = get_class();
+
+ // Generate graph which displays the memory usage over time
+ $this->series = array(
+ 'max_load' => _('Max'),
+ 'avg_load' => _('Avergae'),
+ 'min_load' => _('Min'));
+ $this->dataName = "usagePerInterval";
+ }
+}
+?>
diff --git a/gosa-core/plugins/generic/statistics/chartClasses/class_durationTimeChart.inc b/gosa-core/plugins/generic/statistics/chartClasses/class_durationTimeChart.inc
--- /dev/null
@@ -0,0 +1,21 @@
+<?php
+
+class durationTimeChart extends memoryUsageChart
+{
+ var $title = 'Plugin duration';
+ var $enableCaching = TRUE;
+
+ function __construct(&$config)
+ {
+ parent::__construct($config);
+ $this->graphName = get_class();
+
+ // Generate graph which displays the memory usage over time
+ $this->series = array(
+ 'max_dur' => _('Max'),
+ 'avg_dur' => _('Avergae'),
+ 'min_dur' => _('Min'));
+ $this->dataName = "usagePerInterval";
+ }
+}
+?>
diff --git a/gosa-core/plugins/generic/statistics/chartClasses/class_renderTimeChart.inc b/gosa-core/plugins/generic/statistics/chartClasses/class_renderTimeChart.inc
--- /dev/null
@@ -0,0 +1,21 @@
+<?php
+
+class renderTimeChart extends memoryUsageChart
+{
+ var $title = 'Render time';
+ var $enableCaching = TRUE;
+
+ function __construct(&$config)
+ {
+ parent::__construct($config);
+ $this->graphName = get_class();
+
+ // Generate graph which displays the memory usage over time
+ $this->series = array(
+ 'max_render' => _('Max'),
+ 'avg_render' => _('Avergae'),
+ 'min_render' => _('Min'));
+ $this->dataName = "usagePerInterval";
+ }
+}
+?>