aboutsummaryrefslogtreecommitdiffstats
path: root/os/kernel/src/chstats.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-07-29 13:36:19 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-07-29 13:36:19 +0000
commit1ae1099ef072fd5fa5d1fde1e73c8c1df8d8d2f4 (patch)
tree8313e0ef11e0e2a7fed0581515cc47995343387e /os/kernel/src/chstats.c
parent61f841306aaa11b1471db1deb00470ea48f646fd (diff)
downloadChibiOS-1ae1099ef072fd5fa5d1fde1e73c8c1df8d8d2f4.tar.gz
ChibiOS-1ae1099ef072fd5fa5d1fde1e73c8c1df8d8d2f4.tar.bz2
ChibiOS-1ae1099ef072fd5fa5d1fde1e73c8c1df8d8d2f4.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6038 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/kernel/src/chstats.c')
-rw-r--r--os/kernel/src/chstats.c65
1 files changed, 65 insertions, 0 deletions
diff --git a/os/kernel/src/chstats.c b/os/kernel/src/chstats.c
new file mode 100644
index 000000000..1decf8f16
--- /dev/null
+++ b/os/kernel/src/chstats.c
@@ -0,0 +1,65 @@
+/*
+ ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010,
+ 2011,2012,2013 Giovanni Di Sirio.
+
+ This file is part of ChibiOS/RT.
+
+ ChibiOS/RT 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.
+
+ ChibiOS/RT 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 <http://www.gnu.org/licenses/>.
+*/
+
+/**
+ * @file chstats.c
+ * @brief Real Time Counter and Measurement module code.
+ *
+ * @addtogroup realtime_counter
+ * @details Statistics services.
+ * @{
+ */
+
+#include "ch.h"
+
+#if CH_DBG_STATISTICS || defined(__DOXYGEN__)
+
+/*===========================================================================*/
+/* Module local definitions. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* Module exported variables. */
+/*===========================================================================*/
+
+/**
+ * @brief Global kernel statistics.
+ */
+kernel_stats_t kernel_stats;
+
+/*===========================================================================*/
+/* Module local types. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* Module local variables. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* Module local functions. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* Module exported functions. */
+/*===========================================================================*/
+
+#endif /* CH_DBG_STATISTICS */
+
+/** @} */