aboutsummaryrefslogtreecommitdiffstats
path: root/os/ports
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-07-28 12:15:57 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-07-28 12:15:57 +0000
commit0cb6bc9b9d260beb05fcc9e2ec4d72f0ba621b71 (patch)
tree5c939b5cdc9ec039dd36e93bd7fbf416674e40e3 /os/ports
parentcea523fdb0cad1ec6422a9b4ea13ba08da0932a1 (diff)
downloadChibiOS-0cb6bc9b9d260beb05fcc9e2ec4d72f0ba621b71.tar.gz
ChibiOS-0cb6bc9b9d260beb05fcc9e2ec4d72f0ba621b71.tar.bz2
ChibiOS-0cb6bc9b9d260beb05fcc9e2ec4d72f0ba621b71.zip
RT measurements unit added.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6036 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/ports')
-rw-r--r--os/ports/GCC/ARMCMx/chtypes.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/os/ports/GCC/ARMCMx/chtypes.h b/os/ports/GCC/ARMCMx/chtypes.h
index 65f8cafeb..6870fbd6e 100644
--- a/os/ports/GCC/ARMCMx/chtypes.h
+++ b/os/ports/GCC/ARMCMx/chtypes.h
@@ -54,6 +54,13 @@ typedef int32_t cnt_t; /**< Resources counter. */
*/
#define ROMCONST const
+/**
+ * @brief Makes functions not inlineable.
+ * @note If the compiler does not support such attribute then the
+ * realtime counter precision could be degraded.
+ */
+#define NOINLINE __attribute__((noinline))
+
#endif /* _CHTYPES_H_ */
/** @} */