\r
This file is part of the FreeRTOS.org distribution.\r
\r
- FreeRTOS.org is free software; you can redistribute it and/or modify it \r
+ FreeRTOS.org is free software; you can redistribute it and/or modify it\r
under the terms of the GNU General Public License (version 2) as published\r
by the Free Software Foundation and modified by the FreeRTOS exception.\r
\r
FreeRTOS.org is distributed in the hope that it will be useful, but WITHOUT\r
- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or \r
- FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for \r
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or\r
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for\r
more details.\r
\r
- You should have received a copy of the GNU General Public License along \r
- with FreeRTOS.org; if not, write to the Free Software Foundation, Inc., 59 \r
+ You should have received a copy of the GNU General Public License along\r
+ with FreeRTOS.org; if not, write to the Free Software Foundation, Inc., 59\r
Temple Place, Suite 330, Boston, MA 02111-1307 USA.\r
\r
- A special exception to the GPL is included to allow you to distribute a \r
+ A special exception to the GPL is included to allow you to distribute a\r
combined work that includes FreeRTOS.org without being obliged to provide\r
the source code for any proprietary components. See the licensing section\r
of http://www.FreeRTOS.org for full details.\r
* application requirements.\r
*\r
* THESE PARAMETERS ARE DESCRIBED WITHIN THE 'CONFIGURATION' SECTION OF THE\r
- * FreeRTOS API DOCUMENTATION AVAILABLE ON THE FreeRTOS.org WEB SITE. \r
+ * FreeRTOS API DOCUMENTATION AVAILABLE ON THE FreeRTOS.org WEB SITE.\r
*\r
* See http://www.freertos.org/a00110.html.\r
*----------------------------------------------------------*/\r
#define configCHECK_FOR_STACK_OVERFLOW 2\r
#define configUSE_RECURSIVE_MUTEXES 1\r
#define configQUEUE_REGISTRY_SIZE 10\r
+#define configGENERATE_RUN_TIME_STATS 1\r
\r
#define configMAX_PRIORITIES ( ( unsigned portBASE_TYPE ) 5 )\r
#define configMAX_CO_ROUTINE_PRIORITIES ( 2 )\r
#define configKERNEL_INTERRUPT_PRIORITY ( ( unsigned portCHAR ) 7 << ( unsigned portCHAR ) 5 ) /* Priority 7, or 255 as only the top three bits are implemented. This is the lowest priority. */\r
#define configMAX_SYSCALL_INTERRUPT_PRIORITY ( ( unsigned portCHAR ) 5 << ( unsigned portCHAR ) 5 ) /* Priority 5, or 160 as only the top three bits are implemented. */\r
\r
+extern volatile unsigned long ulHighFrequencyTimerTicks;\r
+/* There is already a high frequency timer running - just reset its count back\r
+to zero. */
+#define portCONFIGURE_TIMER_FOR_RUN_TIME_STATS() ( ulHighFrequencyTimerTicks = 0UL )\r
+#define portGET_RUN_TIME_COUNTER_VALUE() ulHighFrequencyTimerTicks\r
\r
#endif /* FREERTOS_CONFIG_H */\r