#define INCLUDE_xTaskGetSchedulerState 1\r
\r
/* This demo makes use of one or more example stats formatting functions. These\r
-format the raw data provided by the xTaskGetSystemState() function in to human\r
+format the raw data provided by the uxTaskGetSystemState() function in to human\r
readable ASCII form. See the notes in the implementation of vTaskList() within \r
FreeRTOS/Source/tasks.c for limitations. */\r
#define configUSE_STATS_FORMATTING_FUNCTIONS 1\r
#define INCLUDE_xQueueGetMutexHolder 1\r
\r
/* This demo makes use of one or more example stats formatting functions. These\r
-format the raw data provided by the xTaskGetSystemState() function in to human\r
+format the raw data provided by the uxTaskGetSystemState() function in to human\r
readable ASCII form. See the notes in the implementation of vTaskList() within \r
FreeRTOS/Source/tasks.c for limitations. */\r
#define configUSE_STATS_FORMATTING_FUNCTIONS 1\r
#define INCLUDE_xQueueGetMutexHolder 1\r
\r
/* This demo makes use of one or more example stats formatting functions. These\r
-format the raw data provided by the xTaskGetSystemState() function in to human\r
+format the raw data provided by the uxTaskGetSystemState() function in to human\r
readable ASCII form. See the notes in the implementation of vTaskList() within \r
FreeRTOS/Source/tasks.c for limitations. */\r
#define configUSE_STATS_FORMATTING_FUNCTIONS 1\r
#define INCLUDE_xQueueGetMutexHolder 1\r
\r
/* This demo makes use of one or more example stats formatting functions. These\r
-format the raw data provided by the xTaskGetSystemState() function in to human\r
+format the raw data provided by the uxTaskGetSystemState() function in to human\r
readable ASCII form. See the notes in the implementation of vTaskList() within \r
FreeRTOS/Source/tasks.c for limitations. */\r
#define configUSE_STATS_FORMATTING_FUNCTIONS 1\r
#define INCLUDE_xTaskGetCurrentTaskHandle 1\r
\r
/* This demo makes use of one or more example stats formatting functions. These\r
-format the raw data provided by the xTaskGetSystemState() function in to human\r
+format the raw data provided by the uxTaskGetSystemState() function in to human\r
readable ASCII form. See the notes in the implementation of vTaskList() within \r
FreeRTOS/Source/tasks.c for limitations. */\r
#define configUSE_STATS_FORMATTING_FUNCTIONS 1\r
#define INCLUDE_vTaskDelay 1\r
\r
/* This demo makes use of one or more example stats formatting functions. These\r
-format the raw data provided by the xTaskGetSystemState() function in to human\r
+format the raw data provided by the uxTaskGetSystemState() function in to human\r
readable ASCII form. See the notes in the implementation of vTaskList() within \r
FreeRTOS/Source/tasks.c for limitations. */\r
#define configUSE_STATS_FORMATTING_FUNCTIONS 1\r
#define INCLUDE_xTaskGetCurrentTaskHandle 1\r
\r
/* This demo makes use of one or more example stats formatting functions. These\r
-format the raw data provided by the xTaskGetSystemState() function in to human\r
+format the raw data provided by the uxTaskGetSystemState() function in to human\r
readable ASCII form. See the notes in the implementation of vTaskList() within \r
FreeRTOS/Source/tasks.c for limitations. */\r
#define configUSE_STATS_FORMATTING_FUNCTIONS 1\r
#define INCLUDE_xTaskGetCurrentTaskHandle 1\r
\r
/* This demo makes use of one or more example stats formatting functions. These\r
-format the raw data provided by the xTaskGetSystemState() function in to human\r
+format the raw data provided by the uxTaskGetSystemState() function in to human\r
readable ASCII form. See the notes in the implementation of vTaskList() within \r
FreeRTOS/Source/tasks.c for limitations. */\r
#define configUSE_STATS_FORMATTING_FUNCTIONS 1\r
#define INCLUDE_xTaskGetCurrentTaskHandle 1\r
\r
/* This demo makes use of one or more example stats formatting functions. These\r
-format the raw data provided by the xTaskGetSystemState() function in to human\r
+format the raw data provided by the uxTaskGetSystemState() function in to human\r
readable ASCII form. See the notes in the implementation of vTaskList() within \r
FreeRTOS/Source/tasks.c for limitations. */\r
#define configUSE_STATS_FORMATTING_FUNCTIONS 1\r
#define INCLUDE_vTaskDelay 1\r
\r
/* This demo makes use of one or more example stats formatting functions. These\r
-format the raw data provided by the xTaskGetSystemState() function in to human\r
+format the raw data provided by the uxTaskGetSystemState() function in to human\r
readable ASCII form. See the notes in the implementation of vTaskList() within \r
FreeRTOS/Source/tasks.c for limitations. */\r
#define configUSE_STATS_FORMATTING_FUNCTIONS 1\r
#define INCLUDE_vTaskDelay 1\r
\r
/* This demo makes use of one or more example stats formatting functions. These\r
-format the raw data provided by the xTaskGetSystemState() function in to human\r
+format the raw data provided by the uxTaskGetSystemState() function in to human\r
readable ASCII form. See the notes in the implementation of vTaskList() within \r
FreeRTOS/Source/tasks.c for limitations. */\r
#define configUSE_STATS_FORMATTING_FUNCTIONS 1\r
#define INCLUDE_vTaskDelay 1\r
\r
/* This demo makes use of one or more example stats formatting functions. These\r
-format the raw data provided by the xTaskGetSystemState() function in to human\r
+format the raw data provided by the uxTaskGetSystemState() function in to human\r
readable ASCII form. See the notes in the implementation of vTaskList() within\r
FreeRTOS/Source/tasks.c for limitations. */\r
#define configUSE_STATS_FORMATTING_FUNCTIONS 1\r
#define INCLUDE_vTaskDelay 1\r
\r
/* This demo makes use of one or more example stats formatting functions. These\r
-format the raw data provided by the xTaskGetSystemState() function in to human\r
+format the raw data provided by the uxTaskGetSystemState() function in to human\r
readable ASCII form. See the notes in the implementation of vTaskList() within \r
FreeRTOS/Source/tasks.c for limitations. */\r
#define configUSE_STATS_FORMATTING_FUNCTIONS 1\r
#define INCLUDE_uxTaskGetStackHighWaterMark 1\r
\r
/* This demo makes use of one or more example stats formatting functions. These\r
-format the raw data provided by the xTaskGetSystemState() function in to human\r
+format the raw data provided by the uxTaskGetSystemState() function in to human\r
readable ASCII form. See the notes in the implementation of vTaskList() within \r
FreeRTOS/Source/tasks.c for limitations. */\r
#define configUSE_STATS_FORMATTING_FUNCTIONS 1\r
#define INCLUDE_xSemaphoreGetMutexHolder 1\r
\r
/* This demo makes use of one or more example stats formatting functions. These\r
-format the raw data provided by the xTaskGetSystemState() function in to human\r
+format the raw data provided by the uxTaskGetSystemState() function in to human\r
readable ASCII form. See the notes in the implementation of vTaskList() within \r
FreeRTOS/Source/tasks.c for limitations. */\r
#define configUSE_STATS_FORMATTING_FUNCTIONS 1\r
#define INCLUDE_xSemaphoreGetMutexHolder 1\r
\r
/* This demo makes use of one or more example stats formatting functions. These\r
-format the raw data provided by the xTaskGetSystemState() function in to human\r
+format the raw data provided by the uxTaskGetSystemState() function in to human\r
readable ASCII form. See the notes in the implementation of vTaskList() within\r
FreeRTOS/Source/tasks.c for limitations. */\r
#define configUSE_STATS_FORMATTING_FUNCTIONS 1\r
#define INCLUDE_uxTaskGetStackHighWaterMark 1\r
\r
/* This demo makes use of one or more example stats formatting functions. These\r
-format the raw data provided by the xTaskGetSystemState() function in to human\r
+format the raw data provided by the uxTaskGetSystemState() function in to human\r
readable ASCII form. See the notes in the implementation of vTaskList() within \r
FreeRTOS/Source/tasks.c for limitations. */\r
#define configUSE_STATS_FORMATTING_FUNCTIONS 1\r
#define INCLUDE_uxTaskGetStackHighWaterMark 1\r
\r
/* This demo makes use of one or more example stats formatting functions. These\r
-format the raw data provided by the xTaskGetSystemState() function in to human\r
+format the raw data provided by the uxTaskGetSystemState() function in to human\r
readable ASCII form. See the notes in the implementation of vTaskList() within \r
FreeRTOS/Source/tasks.c for limitations. */\r
#define configUSE_STATS_FORMATTING_FUNCTIONS 1\r
#define INCLUDE_uxTaskGetStackHighWaterMark 1\r
\r
/* This demo makes use of one or more example stats formatting functions. These\r
-format the raw data provided by the xTaskGetSystemState() function in to human\r
+format the raw data provided by the uxTaskGetSystemState() function in to human\r
readable ASCII form. See the notes in the implementation of vTaskList() within \r
FreeRTOS/Source/tasks.c for limitations. */\r
#define configUSE_STATS_FORMATTING_FUNCTIONS 1\r
#define INCLUDE_vTaskDelay 1\r
\r
/* This demo makes use of one or more example stats formatting functions. These\r
-format the raw data provided by the xTaskGetSystemState() function in to human\r
+format the raw data provided by the uxTaskGetSystemState() function in to human\r
readable ASCII form. See the notes in the implementation of vTaskList() within \r
FreeRTOS/Source/tasks.c for limitations. */\r
#define configUSE_STATS_FORMATTING_FUNCTIONS 1\r
#define INCLUDE_vTaskDelay 1\r
\r
/* This demo makes use of one or more example stats formatting functions. These\r
-format the raw data provided by the xTaskGetSystemState() function in to human\r
+format the raw data provided by the uxTaskGetSystemState() function in to human\r
readable ASCII form. See the notes in the implementation of vTaskList() within \r
FreeRTOS/Source/tasks.c for limitations. */\r
#define configUSE_STATS_FORMATTING_FUNCTIONS 1\r
#define configMAX_SYSCALL_INTERRUPT_PRIORITY 7\r
\r
/* This demo makes use of one or more example stats formatting functions. These\r
-format the raw data provided by the xTaskGetSystemState() function in to human\r
+format the raw data provided by the uxTaskGetSystemState() function in to human\r
readable ASCII form. See the notes in the implementation of vTaskList() within \r
FreeRTOS/Source/tasks.c for limitations. */\r
#define configUSE_STATS_FORMATTING_FUNCTIONS 1\r
#define INCLUDE_uxTaskGetStackHighWaterMark 1\r
\r
/* This demo makes use of one or more example stats formatting functions. These\r
-format the raw data provided by the xTaskGetSystemState() function in to human\r
+format the raw data provided by the uxTaskGetSystemState() function in to human\r
readable ASCII form. See the notes in the implementation of vTaskList() within \r
FreeRTOS/Source/tasks.c for limitations. */\r
#define configUSE_STATS_FORMATTING_FUNCTIONS 1\r
#define configMAX_SYSCALL_INTERRUPT_PRIORITY 4\r
\r
/* This demo makes use of one or more example stats formatting functions. These\r
-format the raw data provided by the xTaskGetSystemState() function in to human\r
+format the raw data provided by the uxTaskGetSystemState() function in to human\r
readable ASCII form. See the notes in the implementation of vTaskList() within \r
FreeRTOS/Source/tasks.c for limitations. */\r
#define configUSE_STATS_FORMATTING_FUNCTIONS 1\r
\r
\r
/* This demo makes use of one or more example stats formatting functions. These\r
-format the raw data provided by the xTaskGetSystemState() function in to human\r
+format the raw data provided by the uxTaskGetSystemState() function in to human\r
readable ASCII form. See the notes in the implementation of vTaskList() within \r
FreeRTOS/Source/tasks.c for limitations. */\r
#define configUSE_STATS_FORMATTING_FUNCTIONS 1\r
#define configKERNEL_INTERRUPT_PRIORITY 30\r
\r
/* This demo makes use of one or more example stats formatting functions. These\r
-format the raw data provided by the xTaskGetSystemState() function in to human\r
+format the raw data provided by the uxTaskGetSystemState() function in to human\r
readable ASCII form. See the notes in the implementation of vTaskList() within \r
FreeRTOS/Source/tasks.c for limitations. */\r
#define configUSE_STATS_FORMATTING_FUNCTIONS 1\r
#define INCLUDE_xTaskGetCurrentTaskHandle 1\r
\r
/* This demo makes use of one or more example stats formatting functions. These\r
-format the raw data provided by the xTaskGetSystemState() function in to human\r
+format the raw data provided by the uxTaskGetSystemState() function in to human\r
readable ASCII form. See the notes in the implementation of vTaskList() within \r
FreeRTOS/Source/tasks.c for limitations. */\r
#define configUSE_STATS_FORMATTING_FUNCTIONS 1\r
#define INCLUDE_pcTaskGetTaskName 1\r
\r
/* This demo makes use of one or more example stats formatting functions. These\r
-format the raw data provided by the xTaskGetSystemState() function in to human\r
+format the raw data provided by the uxTaskGetSystemState() function in to human\r
readable ASCII form. See the notes in the implementation of vTaskList() within \r
FreeRTOS/Source/tasks.c for limitations. */\r
#define configUSE_STATS_FORMATTING_FUNCTIONS 1\r
#define INCLUDE_uxTaskGetStackHighWaterMark 0 /* Do not use this option on the PC port. */\r
\r
/* This demo makes use of one or more example stats formatting functions. These\r
-format the raw data provided by the xTaskGetSystemState() function in to human\r
+format the raw data provided by the uxTaskGetSystemState() function in to human\r
readable ASCII form. See the notes in the implementation of vTaskList() within \r
FreeRTOS/Source/tasks.c for limitations. */\r
#define configUSE_STATS_FORMATTING_FUNCTIONS 1\r
#define intqHIGHER_PRIORITY ( configMAX_PRIORITIES - 3 )\r
\r
/* This demo makes use of one or more example stats formatting functions. These\r
-format the raw data provided by the xTaskGetSystemState() function in to human\r
+format the raw data provided by the uxTaskGetSystemState() function in to human\r
readable ASCII form. See the notes in the implementation of vTaskList() within \r
FreeRTOS/Source/tasks.c for limitations. */\r
#define configUSE_STATS_FORMATTING_FUNCTIONS 1\r
#define INCLUDE_xTaskGetSchedulerState 1\r
\r
/* This demo makes use of one or more example stats formatting functions. These\r
-format the raw data provided by the xTaskGetSystemState() function in to human\r
+format the raw data provided by the uxTaskGetSystemState() function in to human\r
readable ASCII form. See the notes in the implementation of vTaskList() within \r
FreeRTOS/Source/tasks.c for limitations. */\r
#define configUSE_STATS_FORMATTING_FUNCTIONS 1\r
#define INCLUDE_xTaskGetSchedulerState 1\r
\r
/* This demo makes use of one or more example stats formatting functions. These\r
-format the raw data provided by the xTaskGetSystemState() function in to human\r
+format the raw data provided by the uxTaskGetSystemState() function in to human\r
readable ASCII form. See the notes in the implementation of vTaskList() within \r
FreeRTOS/Source/tasks.c for limitations. */\r
#define configUSE_STATS_FORMATTING_FUNCTIONS 1\r
#define INCLUDE_xTaskGetSchedulerState 1\r
\r
/* This demo makes use of one or more example stats formatting functions. These\r
-format the raw data provided by the xTaskGetSystemState() function in to human\r
+format the raw data provided by the uxTaskGetSystemState() function in to human\r
readable ASCII form. See the notes in the implementation of vTaskList() within \r
FreeRTOS/Source/tasks.c for limitations. */\r
#define configUSE_STATS_FORMATTING_FUNCTIONS 1\r
#define INCLUDE_xTaskGetSchedulerState 1\r
\r
/* This demo makes use of one or more example stats formatting functions. These\r
-format the raw data provided by the xTaskGetSystemState() function in to human\r
+format the raw data provided by the uxTaskGetSystemState() function in to human\r
readable ASCII form. See the notes in the implementation of vTaskList() within \r
FreeRTOS/Source/tasks.c for limitations. */\r
#define configUSE_STATS_FORMATTING_FUNCTIONS 1\r
#define INCLUDE_xTaskGetSchedulerState 1\r
\r
/* This demo makes use of one or more example stats formatting functions. These\r
-format the raw data provided by the xTaskGetSystemState() function in to human\r
+format the raw data provided by the uxTaskGetSystemState() function in to human\r
readable ASCII form. See the notes in the implementation of vTaskList() within \r
FreeRTOS/Source/tasks.c for limitations. */\r
#define configUSE_STATS_FORMATTING_FUNCTIONS 1\r
#define INCLUDE_xTaskGetSchedulerState 1\r
\r
/* This demo makes use of one or more example stats formatting functions. These\r
-format the raw data provided by the xTaskGetSystemState() function in to human\r
+format the raw data provided by the uxTaskGetSystemState() function in to human\r
readable ASCII form. See the notes in the implementation of vTaskList() within \r
FreeRTOS/Source/tasks.c for limitations. */\r
#define configUSE_STATS_FORMATTING_FUNCTIONS 1\r
#define INCLUDE_xTaskGetSchedulerState 1\r
\r
/* This demo makes use of one or more example stats formatting functions. These\r
-format the raw data provided by the xTaskGetSystemState() function in to human\r
+format the raw data provided by the uxTaskGetSystemState() function in to human\r
readable ASCII form. See the notes in the implementation of vTaskList() within \r
FreeRTOS/Source/tasks.c for limitations. */\r
#define configUSE_STATS_FORMATTING_FUNCTIONS 1\r
#define INCLUDE_vTaskDelay 1\r
\r
/* This demo makes use of one or more example stats formatting functions. These\r
-format the raw data provided by the xTaskGetSystemState() function in to human\r
+format the raw data provided by the uxTaskGetSystemState() function in to human\r
readable ASCII form. See the notes in the implementation of vTaskList() within \r
FreeRTOS/Source/tasks.c for limitations. */\r
#define configUSE_STATS_FORMATTING_FUNCTIONS 1\r
#define configHEAP_INIT 0\r
\r
/* This demo makes use of one or more example stats formatting functions. These\r
-format the raw data provided by the xTaskGetSystemState() function in to human\r
+format the raw data provided by the uxTaskGetSystemState() function in to human\r
readable ASCII form. See the notes in the implementation of vTaskList() within \r
FreeRTOS/Source/tasks.c for limitations. */\r
#define configUSE_STATS_FORMATTING_FUNCTIONS 1\r
#define INCLUDE_xTaskGetCurrentTaskHandle 1\r
\r
/* This demo makes use of one or more example stats formatting functions. These\r
-format the raw data provided by the xTaskGetSystemState() function in to human\r
+format the raw data provided by the uxTaskGetSystemState() function in to human\r
readable ASCII form. See the notes in the implementation of vTaskList() within \r
FreeRTOS/Source/tasks.c for limitations. */\r
#define configUSE_STATS_FORMATTING_FUNCTIONS 1\r
#define INCLUDE_xTaskGetCurrentTaskHandle 1\r
\r
/* This demo makes use of one or more example stats formatting functions. These\r
-format the raw data provided by the xTaskGetSystemState() function in to human\r
+format the raw data provided by the uxTaskGetSystemState() function in to human\r
readable ASCII form. See the notes in the implementation of vTaskList() within \r
FreeRTOS/Source/tasks.c for limitations. */\r
#define configUSE_STATS_FORMATTING_FUNCTIONS 1\r
#define INCLUDE_vTaskDelay 1\r
\r
/* This demo makes use of one or more example stats formatting functions. These\r
-format the raw data provided by the xTaskGetSystemState() function in to human\r
+format the raw data provided by the uxTaskGetSystemState() function in to human\r
readable ASCII form. See the notes in the implementation of vTaskList() within \r
FreeRTOS/Source/tasks.c for limitations. */\r
#define configUSE_STATS_FORMATTING_FUNCTIONS 1\r
#define xTaskGetCurrentTaskHandle MPU_xTaskGetCurrentTaskHandle\r
#define xTaskGetSchedulerState MPU_xTaskGetSchedulerState\r
#define xTaskGetIdleTaskHandle MPU_xTaskGetIdleTaskHandle\r
- #define xTaskGetSystemState MPU_xTaskGetSystemState\r
+ #define uxTaskGetSystemState MPU_uxTaskGetSystemState\r
\r
#define xQueueGenericCreate MPU_xQueueGenericCreate\r
#define xQueueCreateMutex MPU_xQueueCreateMutex\r
xMemoryRegion xRegions[ portNUM_CONFIGURABLE_REGIONS ];\r
} xTaskParameters;\r
\r
-/* Used with the xTaskGetSystemState() function to return the state of each task\r
+/* Used with the uxTaskGetSystemState() function to return the state of each task\r
in the system. */\r
typedef struct xTASK_STATUS\r
{\r
xTaskHandle xHandle; /* The handle of the task to which the rest of the information in the structure relates. */\r
- const signed char *pcTaskName; /* A pointer to the task's name. This valid will be invalid if the task was deleted since the structure was populated! */\r
+ const signed char *pcTaskName; /* A pointer to the task's name. This value will be invalid if the task was deleted since the structure was populated! */\r
unsigned portBASE_TYPE xTaskNumber; /* A number unique to the task. */\r
eTaskState eCurrentState; /* The state in which the task existed when the structure was populated. */\r
unsigned portBASE_TYPE uxCurrentPriority; /* The priority at which the task was running (may be inherited) when the structure was populated. */\r
- unsigned portBASE_TYPE uxBasePriority; /* The priority to which the task will return if the task's current priority has been inherited to avoid unbounded priority inversion when obtaining a mutex. Only valid is configUSE_MUTEXES is defined as 1 in FreeRTOSConfig.h. */\r
+ unsigned portBASE_TYPE uxBasePriority; /* The priority to which the task will return if the task's current priority has been inherited to avoid unbounded priority inversion when obtaining a mutex. Only valid if configUSE_MUTEXES is defined as 1 in FreeRTOSConfig.h. */\r
unsigned long ulRunTimeCounter; /* The total run time allocated to the task so far, as defined by the run time stats clock. See http://www.freertos.org/rtos-run-time-stats.html. Only valid when configGENERATE_RUN_TIME_STATS is defined as 1 in FreeRTOSConfig.h. */\r
unsigned short usStackHighWaterMark; /* The minimum amount of stack space that has remained for the task since the task was created. The closer this value is to zero the closer the task has come to overflowing its stack. */\r
} xTaskStatusType;\r
\r
/**\r
* configUSE_TRACE_FACILITY must bet defined as 1 in FreeRTOSConfig.h for\r
- * xTaskGetSystemState() to be available.\r
+ * uxTaskGetSystemState() to be available.\r
*\r
- * xTaskGetSystemState() populates an xTaskStatusType structure for each task in\r
+ * uxTaskGetSystemState() populates an xTaskStatusType structure for each task in\r
* the system. xTaskStatusType structures contain, among other things, members\r
* for the task handle, task name, task priority, task state, and total amount\r
* of run time consumed by the task. See the xTaskStatusType structure\r
* the scheduler remaining suspended for an extended period.\r
*\r
* @param pxTaskStatusArray A pointer to an array of xTaskStatusType structures.\r
- * The array contain at least one xTaskStatusType structure for each task that\r
- * is under the control of the RTOS. The number of tasks under the control of\r
- * the RTOS can be determined using the uxTaskGetNumberOfTasks() API function.\r
+ * The array must contain at least one xTaskStatusType structure for each task \r
+ * that is under the control of the RTOS. The number of tasks under the control \r
+ * of the RTOS can be determined using the uxTaskGetNumberOfTasks() API function.\r
*\r
* @param uxArraySize The size of the array pointed to by the pxTaskStatusArray\r
* parameter. The size is specified as the number of indexes in the array, or\r
* the number of xTaskStatusType structures contained in the array, not by the\r
* number of bytes in the array.\r
*\r
- * @param pultotalRunTime If configGENERATE_RUN_TIME_STATS is set to 1 in\r
- * FreeRTOSConfig.h then *pulTotalRunTime is set by xTaskGetSystemState() to the\r
+ * @param pulTotalRunTime If configGENERATE_RUN_TIME_STATS is set to 1 in\r
+ * FreeRTOSConfig.h then *pulTotalRunTime is set by uxTaskGetSystemState() to the\r
* total run time (as defined by the run time stats clock, see\r
* http://www.freertos.org/rtos-run-time-stats.html) since the target booted.\r
+ * pulTotalRunTime can be set to NULL to omit the total run time information.\r
*\r
* @return The number of xTaskStatusType structures that were populated by\r
- * xTaskGetSystemState(). This should equal the number returned by the\r
+ * uxTaskGetSystemState(). This should equal the number returned by the\r
* uxTaskGetNumberOfTasks() API function, but will be zero if the value passed\r
* in the uxArraySize parameter was too small.\r
*\r
* Example usage:\r
<pre>\r
// This example demonstrates how a human readable table of run time stats\r
- // information is generated from raw data provided by xTaskGetSystemState().\r
+ // information is generated from raw data provided by uxTaskGetSystemState().\r
// The human readable table is written to pcWriteBuffer\r
void vTaskGetRunTimeStats( signed char *pcWriteBuffer )\r
{\r
\r
// Take a snapshot of the number of tasks in case it changes while this\r
// function is executing.\r
- uxArraySize = uxCurrentNumberOfTasks;\r
+ uxArraySize = uxCurrentNumberOfTasks();\r
\r
// Allocate a xTaskStatusType structure for each task. An array could be\r
// allocated statically at compile time.\r
if( pxTaskStatusArray != NULL )\r
{\r
// Generate raw status information about each task.\r
- uxArraySize = xTaskGetSystemState( pxTaskStatusArray, uxArraySize, &ulTotalRunTime );\r
+ uxArraySize = uxTaskGetSystemState( pxTaskStatusArray, uxArraySize, &ulTotalRunTime );\r
\r
// For percentage calculations.\r
ulTotalRunTime /= 100UL;\r
}\r
</pre>\r
*/\r
-unsigned portBASE_TYPE xTaskGetSystemState( xTaskStatusType *pxTaskStatusArray, unsigned portBASE_TYPE uxArraySize, unsigned long *pulTotalRunTime );\r
+unsigned portBASE_TYPE uxTaskGetSystemState( xTaskStatusType *pxTaskStatusArray, unsigned portBASE_TYPE uxArraySize, unsigned long *pulTotalRunTime );\r
\r
/**\r
* task. h\r
* This function is provided for convenience only, and is used by many of the\r
* demo applications. Do not consider it to be part of the scheduler.\r
*\r
- * vTaskList() calls xTaskGetSystemState(), then formats part of the\r
- * xTaskGetSystemState() output into a human readable table that displays task\r
+ * vTaskList() calls uxTaskGetSystemState(), then formats part of the\r
+ * uxTaskGetSystemState() output into a human readable table that displays task\r
* names, states and stack usage.\r
*\r
* vTaskList() has a dependency on the sprintf() C library function that might\r
* FreeRTOS/Demo sub-directories in a file called printf-stdarg.c (note\r
* printf-stdarg.c does not provide a full snprintf() implementation!).\r
*\r
- * It is recommended that production systems call xTaskGetSystemState()\r
+ * It is recommended that production systems call uxTaskGetSystemState()\r
* directly to get access to raw stats data, rather than indirectly through a\r
* call to vTaskList().\r
*\r
* This function is provided for convenience only, and is used by many of the\r
* demo applications. Do not consider it to be part of the scheduler.\r
*\r
- * vTaskGetRunTimeStats() calls xTaskGetSystemState(), then formats part of the\r
- * xTaskGetSystemState() output into a human readable table that displays the\r
+ * vTaskGetRunTimeStats() calls uxTaskGetSystemState(), then formats part of the\r
+ * uxTaskGetSystemState() output into a human readable table that displays the\r
* amount of time each task has spent in the Running state in both absolute and\r
* percentage terms.\r
*\r
* FreeRTOS/Demo sub-directories in a file called printf-stdarg.c (note\r
* printf-stdarg.c does not provide a full snprintf() implementation!).\r
*\r
- * It is recommended that production systems call xTaskGetSystemState() directly\r
+ * It is recommended that production systems call uxTaskGetSystemState() directly\r
* to get access to raw stats data, rather than indirectly through a call to\r
* vTaskGetRunTimeStats().\r
*\r
xTaskHandle MPU_xTaskGetCurrentTaskHandle( void );\r
portBASE_TYPE MPU_xTaskGetSchedulerState( void );\r
xTaskHandle MPU_xTaskGetIdleTaskHandle( void );\r
-unsigned portBASE_TYPE MPU_xTaskGetSystemState( xTaskStatusType *pxTaskStatusArray, unsigned portBASE_TYPE uxArraySize, unsigned long *pulTotalRunTime );\r
+unsigned portBASE_TYPE MPU_uxTaskGetSystemState( xTaskStatusType *pxTaskStatusArray, unsigned portBASE_TYPE uxArraySize, unsigned long *pulTotalRunTime );\r
xQueueHandle MPU_xQueueGenericCreate( unsigned portBASE_TYPE uxQueueLength, unsigned portBASE_TYPE uxItemSize, unsigned char ucQueueType );\r
signed portBASE_TYPE MPU_xQueueGenericSend( xQueueHandle xQueue, const void * const pvItemToQueue, portTickType xTicksToWait, portBASE_TYPE xCopyPosition );\r
portBASE_TYPE MPU_xQueueGenericReset( xQueueHandle pxQueue, portBASE_TYPE xNewQueue );\r
/*-----------------------------------------------------------*/\r
\r
#if ( configUSE_TRACE_FACILITY == 1 )\r
- unsigned portBASE_TYPE MPU_xTaskGetSystemState( xTaskStatusType *pxTaskStatusArray, unsigned portBASE_TYPE uxArraySize, unsigned long *pulTotalRunTime )\r
+ unsigned portBASE_TYPE MPU_uxTaskGetSystemState( xTaskStatusType *pxTaskStatusArray, unsigned portBASE_TYPE uxArraySize, unsigned long *pulTotalRunTime )\r
{\r
unsigned portBASE_TYPE uxReturn;\r
portBASE_TYPE xRunningPrivileged = prvRaisePrivilege();\r
\r
- uxReturn = xTaskGetSystemState( pxTaskStatusArray, uxArraySize, pulTotalRunTime );\r
+ uxReturn = uxTaskGetSystemState( pxTaskStatusArray, uxArraySize, pulTotalRunTime );\r
portRESET_PRIVILEGE( xRunningPrivileged );\r
return xReturn;\r
}\r
* A sample implementation of pvPortMalloc() and vPortFree() that permits\r
* allocated blocks to be freed, but does not combine adjacent free blocks\r
* into a single larger block (and so will fragment memory). See heap_4.c for\r
- * an aquivalent that does combine adjacent blocks into single larger blocks.\r
+ * an equivalent that does combine adjacent blocks into single larger blocks.\r
*\r
* See heap_1.c, heap_3.c and heap_4.c for alternative implementations, and the\r
* memory management pages of http://www.FreeRTOS.org for more information.\r
#if ( ( configGENERATE_RUN_TIME_STATS == 1 ) && ( configUSE_STATS_FORMATTING_FUNCTIONS == 1 ) )\r
/* At the bottom of this file are two optional functions that can be used\r
to generate human readable text from the raw data generated by the\r
- xTaskGetSystemState() function. Note the formatting functions are provided\r
+ uxTaskGetSystemState() function. Note the formatting functions are provided\r
for convenience only, and are NOT considered part of the kernel. */\r
#include <stdio.h>\r
#endif /* ( ( configGENERATE_RUN_TIME_STATS == 1 ) && ( configUSE_STATS_FORMATTING_FUNCTIONS == 1 ) ) */\r
\r
#if ( configUSE_TRACE_FACILITY == 1 )\r
\r
- unsigned portBASE_TYPE xTaskGetSystemState( xTaskStatusType *pxTaskStatusArray, unsigned portBASE_TYPE uxArraySize, unsigned long *pulTotalRunTime )\r
+ unsigned portBASE_TYPE uxTaskGetSystemState( xTaskStatusType *pxTaskStatusArray, unsigned portBASE_TYPE uxArraySize, unsigned long *pulTotalRunTime )\r
{\r
unsigned portBASE_TYPE uxTask = 0, uxQueue = configMAX_PRIORITIES;\r
\r
* of the demo applications. Do not consider it to be part of the\r
* scheduler.\r
*\r
- * vTaskList() calls xTaskGetSystemState(), then formats part of the\r
- * xTaskGetSystemState() output into a human readable table that\r
+ * vTaskList() calls uxTaskGetSystemState(), then formats part of the\r
+ * uxTaskGetSystemState() output into a human readable table that\r
* displays task names, states and stack usage.\r
*\r
* vTaskList() has a dependency on the sprintf() C library function that\r
* printf-stdarg.c (note printf-stdarg.c does not provide a full\r
* snprintf() implementation!).\r
*\r
- * It is recommended that production systems call xTaskGetSystemState()\r
+ * It is recommended that production systems call uxTaskGetSystemState()\r
* directly to get access to raw stats data, rather than indirectly\r
* through a call to vTaskList().\r
*/\r
if( pxTaskStatusArray != NULL )\r
{\r
/* Generate the (binary) data. */\r
- uxArraySize = xTaskGetSystemState( pxTaskStatusArray, uxArraySize, NULL );\r
+ uxArraySize = uxTaskGetSystemState( pxTaskStatusArray, uxArraySize, NULL );\r
\r
/* Create a human readable table from the binary data. */\r
for( x = 0; x < uxArraySize; x++ )\r
* of the demo applications. Do not consider it to be part of the\r
* scheduler.\r
*\r
- * vTaskGetRunTimeStats() calls xTaskGetSystemState(), then formats part\r
- * of the xTaskGetSystemState() output into a human readable table that\r
+ * vTaskGetRunTimeStats() calls uxTaskGetSystemState(), then formats part\r
+ * of the uxTaskGetSystemState() output into a human readable table that\r
* displays the amount of time each task has spent in the Running state\r
* in both absolute and percentage terms.\r
*\r
* a file called printf-stdarg.c (note printf-stdarg.c does not provide\r
* a full snprintf() implementation!).\r
*\r
- * It is recommended that production systems call xTaskGetSystemState()\r
+ * It is recommended that production systems call uxTaskGetSystemState()\r
* directly to get access to raw stats data, rather than indirectly\r
* through a call to vTaskGetRunTimeStats().\r
*/\r
if( pxTaskStatusArray != NULL )\r
{\r
/* Generate the (binary) data. */\r
- uxArraySize = xTaskGetSystemState( pxTaskStatusArray, uxArraySize, &ulTotalTime );\r
+ uxArraySize = uxTaskGetSystemState( pxTaskStatusArray, uxArraySize, &ulTotalTime );\r
\r
/* For percentage calculations. */\r
ulTotalTime /= 100UL;\r