mirror of
https://github.com/GorgonMeducer/perf_counter.git
synced 2025-02-07 19:34:18 +08:00
v2.2.1
This commit is contained in:
parent
cbd408d15f
commit
748eba059e
2
Doxyfile
2
Doxyfile
@ -38,7 +38,7 @@ PROJECT_NAME = perf_counter
|
|||||||
# could be handy for archiving the generated documentation or if some version
|
# could be handy for archiving the generated documentation or if some version
|
||||||
# control system is used.
|
# control system is used.
|
||||||
|
|
||||||
PROJECT_NUMBER = v2.2.0
|
PROJECT_NUMBER = v2.2.1
|
||||||
|
|
||||||
# Using the PROJECT_BRIEF tag one can provide an optional one line description
|
# Using the PROJECT_BRIEF tag one can provide an optional one line description
|
||||||
# for a project that appears at the top of each page and should give viewer a
|
# for a project that appears at the top of each page and should give viewer a
|
||||||
|
@ -16,6 +16,9 @@
|
|||||||
<repository type="git">https://github.com/GorgonMeducer/perf_counter.git</repository>
|
<repository type="git">https://github.com/GorgonMeducer/perf_counter.git</repository>
|
||||||
|
|
||||||
<releases>
|
<releases>
|
||||||
|
<release date="2023-05-19" version="2.2.1" url="https://raw.githubusercontent.com/GorgonMeducer/perf_counter/CMSIS-Pack/cmsis-pack/GorgonMeducer.perf_counter.2.2.1.pack">
|
||||||
|
- Update perfc_is_time_out_ms and perf_is_time_out_us
|
||||||
|
</release>
|
||||||
<release date="2023-05-18" version="2.2.0" url="https://raw.githubusercontent.com/GorgonMeducer/perf_counter/CMSIS-Pack/cmsis-pack/GorgonMeducer.perf_counter.2.2.0.pack">
|
<release date="2023-05-18" version="2.2.0" url="https://raw.githubusercontent.com/GorgonMeducer/perf_counter/CMSIS-Pack/cmsis-pack/GorgonMeducer.perf_counter.2.2.0.pack">
|
||||||
- Enhance Timer Services
|
- Enhance Timer Services
|
||||||
- Other minor changes
|
- Other minor changes
|
||||||
@ -234,7 +237,7 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<components>
|
<components>
|
||||||
<component Cclass="Utilities" Cversion="2.2.0" Cgroup="perf_counter" Csub="Core" Cvariant="Library" condition="CMSIS-CORE">
|
<component Cclass="Utilities" Cversion="2.2.1" Cgroup="perf_counter" Csub="Core" Cvariant="Library" condition="CMSIS-CORE">
|
||||||
<description>A dedicated performance counter for Cortex-M systick.</description>
|
<description>A dedicated performance counter for Cortex-M systick.</description>
|
||||||
<files>
|
<files>
|
||||||
<file category="header" name="lib/perf_counter.h"/>
|
<file category="header" name="lib/perf_counter.h"/>
|
||||||
@ -252,7 +255,7 @@
|
|||||||
#define __PERF_COUNTER_CFG_USE_SYSTICK_WRAPPER__ 1
|
#define __PERF_COUNTER_CFG_USE_SYSTICK_WRAPPER__ 1
|
||||||
</Pre_Include_Global_h>
|
</Pre_Include_Global_h>
|
||||||
</component>
|
</component>
|
||||||
<component Cclass="Utilities" Cversion="2.2.0" Cgroup="perf_counter" Csub="Core" Cvariant="Source" isDefaultVariant="true" condition="CMSIS-CORE">
|
<component Cclass="Utilities" Cversion="2.2.1" Cgroup="perf_counter" Csub="Core" Cvariant="Source" isDefaultVariant="true" condition="CMSIS-CORE">
|
||||||
<description>A dedicated performance counter for Cortex-M systick.</description>
|
<description>A dedicated performance counter for Cortex-M systick.</description>
|
||||||
<files>
|
<files>
|
||||||
<file category="header" name="lib/perf_counter.h"/>
|
<file category="header" name="lib/perf_counter.h"/>
|
||||||
@ -295,7 +298,7 @@
|
|||||||
</Pre_Include_Global_h>
|
</Pre_Include_Global_h>
|
||||||
</component>
|
</component>
|
||||||
|
|
||||||
<component Cclass="Utilities" Cversion="2.2.0" Cgroup="perf_counter" Csub="RTX5 Patch" condition="RTX5 Patch">
|
<component Cclass="Utilities" Cversion="2.2.1" Cgroup="perf_counter" Csub="RTX5 Patch" condition="RTX5 Patch">
|
||||||
<description>A Patch for RTX5</description>
|
<description>A Patch for RTX5</description>
|
||||||
<files>
|
<files>
|
||||||
<file category="source" name="lib/perf_os_patch_rtx5.c"/>
|
<file category="source" name="lib/perf_os_patch_rtx5.c"/>
|
||||||
@ -307,7 +310,7 @@
|
|||||||
</Pre_Include_Global_h>
|
</Pre_Include_Global_h>
|
||||||
</component>
|
</component>
|
||||||
|
|
||||||
<component Cclass="Utilities" Cversion="2.2.0" Cgroup="perf_counter" Csub="FreeRTOS Patch" condition="perf_counter">
|
<component Cclass="Utilities" Cversion="2.2.1" Cgroup="perf_counter" Csub="FreeRTOS Patch" condition="perf_counter">
|
||||||
<description>A Patch for FreeRTOS</description>
|
<description>A Patch for FreeRTOS</description>
|
||||||
<files>
|
<files>
|
||||||
<file category="source" name="lib/perf_os_patch_freertos.c"/>
|
<file category="source" name="lib/perf_os_patch_freertos.c"/>
|
||||||
@ -330,7 +333,7 @@ extern void __freertos_evr_on_task_switched_in(void *ptTCB, unsigned int uxTopPr
|
|||||||
</Pre_Include_Global_h>
|
</Pre_Include_Global_h>
|
||||||
</component>
|
</component>
|
||||||
|
|
||||||
<component Cclass="Utilities" Cversion="2.2.0" Cgroup="perf_counter" Csub="RT-Thread Patch" condition="perf_counter">
|
<component Cclass="Utilities" Cversion="2.2.1" Cgroup="perf_counter" Csub="RT-Thread Patch" condition="perf_counter">
|
||||||
<description>A Patch for RT-Thread</description>
|
<description>A Patch for RT-Thread</description>
|
||||||
<files>
|
<files>
|
||||||
<file category="source" name="lib/perf_os_patch_rt_thread.c"/>
|
<file category="source" name="lib/perf_os_patch_rt_thread.c"/>
|
||||||
@ -348,7 +351,7 @@ extern void __rt_thread_scheduler_hook(struct rt_thread *from, struct rt_thread
|
|||||||
</Pre_Include_Global_h>
|
</Pre_Include_Global_h>
|
||||||
</component>
|
</component>
|
||||||
|
|
||||||
<component Cclass="Utilities" Cversion="2.1.0" Cgroup="perf_counter" Csub="ThreadX Patch" condition="perf_counter">
|
<component Cclass="Utilities" Cversion="2.1.1" Cgroup="perf_counter" Csub="ThreadX Patch" condition="perf_counter">
|
||||||
<description>A Patch for ThreadX</description>
|
<description>A Patch for ThreadX</description>
|
||||||
<files>
|
<files>
|
||||||
<file category="source" name="lib/perf_os_patch_threadx.c"/>
|
<file category="source" name="lib/perf_os_patch_threadx.c"/>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# perf_counter (v2.2.0)
|
# perf_counter (v2.2.1)
|
||||||
A dedicated performance counter for Cortex-M Systick. It shares the SysTick with users' original SysTick function(s) without interfering with it. This library will bring new functionalities, such as performance counter,` delay_us` and `clock()` service defined in `time.h`.
|
A dedicated performance counter for Cortex-M Systick. It shares the SysTick with users' original SysTick function(s) without interfering with it. This library will bring new functionalities, such as performance counter,` delay_us` and `clock()` service defined in `time.h`.
|
||||||
|
|
||||||
### Features:
|
### Features:
|
||||||
|
Binary file not shown.
@ -16,6 +16,9 @@
|
|||||||
<repository type="git">https://github.com/GorgonMeducer/perf_counter.git</repository>
|
<repository type="git">https://github.com/GorgonMeducer/perf_counter.git</repository>
|
||||||
|
|
||||||
<releases>
|
<releases>
|
||||||
|
<release date="2023-05-19" version="2.2.1" url="https://raw.githubusercontent.com/GorgonMeducer/perf_counter/CMSIS-Pack/cmsis-pack/GorgonMeducer.perf_counter.2.2.1.pack">
|
||||||
|
- Update perfc_is_time_out_ms and perf_is_time_out_us
|
||||||
|
</release>
|
||||||
<release date="2023-05-18" version="2.2.0" url="https://raw.githubusercontent.com/GorgonMeducer/perf_counter/CMSIS-Pack/cmsis-pack/GorgonMeducer.perf_counter.2.2.0.pack">
|
<release date="2023-05-18" version="2.2.0" url="https://raw.githubusercontent.com/GorgonMeducer/perf_counter/CMSIS-Pack/cmsis-pack/GorgonMeducer.perf_counter.2.2.0.pack">
|
||||||
- Enhance Timer Services
|
- Enhance Timer Services
|
||||||
- Other minor changes
|
- Other minor changes
|
||||||
@ -234,7 +237,7 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<components>
|
<components>
|
||||||
<component Cclass="Utilities" Cversion="2.2.0" Cgroup="perf_counter" Csub="Core" Cvariant="Library" condition="CMSIS-CORE">
|
<component Cclass="Utilities" Cversion="2.2.1" Cgroup="perf_counter" Csub="Core" Cvariant="Library" condition="CMSIS-CORE">
|
||||||
<description>A dedicated performance counter for Cortex-M systick.</description>
|
<description>A dedicated performance counter for Cortex-M systick.</description>
|
||||||
<files>
|
<files>
|
||||||
<file category="header" name="lib/perf_counter.h"/>
|
<file category="header" name="lib/perf_counter.h"/>
|
||||||
@ -252,7 +255,7 @@
|
|||||||
#define __PERF_COUNTER_CFG_USE_SYSTICK_WRAPPER__ 1
|
#define __PERF_COUNTER_CFG_USE_SYSTICK_WRAPPER__ 1
|
||||||
</Pre_Include_Global_h>
|
</Pre_Include_Global_h>
|
||||||
</component>
|
</component>
|
||||||
<component Cclass="Utilities" Cversion="2.2.0" Cgroup="perf_counter" Csub="Core" Cvariant="Source" isDefaultVariant="true" condition="CMSIS-CORE">
|
<component Cclass="Utilities" Cversion="2.2.1" Cgroup="perf_counter" Csub="Core" Cvariant="Source" isDefaultVariant="true" condition="CMSIS-CORE">
|
||||||
<description>A dedicated performance counter for Cortex-M systick.</description>
|
<description>A dedicated performance counter for Cortex-M systick.</description>
|
||||||
<files>
|
<files>
|
||||||
<file category="header" name="lib/perf_counter.h"/>
|
<file category="header" name="lib/perf_counter.h"/>
|
||||||
@ -295,7 +298,7 @@
|
|||||||
</Pre_Include_Global_h>
|
</Pre_Include_Global_h>
|
||||||
</component>
|
</component>
|
||||||
|
|
||||||
<component Cclass="Utilities" Cversion="2.2.0" Cgroup="perf_counter" Csub="RTX5 Patch" condition="RTX5 Patch">
|
<component Cclass="Utilities" Cversion="2.2.1" Cgroup="perf_counter" Csub="RTX5 Patch" condition="RTX5 Patch">
|
||||||
<description>A Patch for RTX5</description>
|
<description>A Patch for RTX5</description>
|
||||||
<files>
|
<files>
|
||||||
<file category="source" name="lib/perf_os_patch_rtx5.c"/>
|
<file category="source" name="lib/perf_os_patch_rtx5.c"/>
|
||||||
@ -307,7 +310,7 @@
|
|||||||
</Pre_Include_Global_h>
|
</Pre_Include_Global_h>
|
||||||
</component>
|
</component>
|
||||||
|
|
||||||
<component Cclass="Utilities" Cversion="2.2.0" Cgroup="perf_counter" Csub="FreeRTOS Patch" condition="perf_counter">
|
<component Cclass="Utilities" Cversion="2.2.1" Cgroup="perf_counter" Csub="FreeRTOS Patch" condition="perf_counter">
|
||||||
<description>A Patch for FreeRTOS</description>
|
<description>A Patch for FreeRTOS</description>
|
||||||
<files>
|
<files>
|
||||||
<file category="source" name="lib/perf_os_patch_freertos.c"/>
|
<file category="source" name="lib/perf_os_patch_freertos.c"/>
|
||||||
@ -330,7 +333,7 @@ extern void __freertos_evr_on_task_switched_in(void *ptTCB, unsigned int uxTopPr
|
|||||||
</Pre_Include_Global_h>
|
</Pre_Include_Global_h>
|
||||||
</component>
|
</component>
|
||||||
|
|
||||||
<component Cclass="Utilities" Cversion="2.2.0" Cgroup="perf_counter" Csub="RT-Thread Patch" condition="perf_counter">
|
<component Cclass="Utilities" Cversion="2.2.1" Cgroup="perf_counter" Csub="RT-Thread Patch" condition="perf_counter">
|
||||||
<description>A Patch for RT-Thread</description>
|
<description>A Patch for RT-Thread</description>
|
||||||
<files>
|
<files>
|
||||||
<file category="source" name="lib/perf_os_patch_rt_thread.c"/>
|
<file category="source" name="lib/perf_os_patch_rt_thread.c"/>
|
||||||
@ -348,7 +351,7 @@ extern void __rt_thread_scheduler_hook(struct rt_thread *from, struct rt_thread
|
|||||||
</Pre_Include_Global_h>
|
</Pre_Include_Global_h>
|
||||||
</component>
|
</component>
|
||||||
|
|
||||||
<component Cclass="Utilities" Cversion="2.1.0" Cgroup="perf_counter" Csub="ThreadX Patch" condition="perf_counter">
|
<component Cclass="Utilities" Cversion="2.1.1" Cgroup="perf_counter" Csub="ThreadX Patch" condition="perf_counter">
|
||||||
<description>A Patch for ThreadX</description>
|
<description>A Patch for ThreadX</description>
|
||||||
<files>
|
<files>
|
||||||
<file category="source" name="lib/perf_os_patch_threadx.c"/>
|
<file category="source" name="lib/perf_os_patch_threadx.c"/>
|
||||||
|
@ -75,7 +75,7 @@
|
|||||||
<OPTFL>
|
<OPTFL>
|
||||||
<tvExp>1</tvExp>
|
<tvExp>1</tvExp>
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
<tvExpOptDlg>0</tvExpOptDlg>
|
||||||
<IsCurrentTarget>1</IsCurrentTarget>
|
<IsCurrentTarget>0</IsCurrentTarget>
|
||||||
</OPTFL>
|
</OPTFL>
|
||||||
<CpuCode>7</CpuCode>
|
<CpuCode>7</CpuCode>
|
||||||
<DebugOpt>
|
<DebugOpt>
|
||||||
@ -297,7 +297,7 @@
|
|||||||
<OPTFL>
|
<OPTFL>
|
||||||
<tvExp>1</tvExp>
|
<tvExp>1</tvExp>
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
<tvExpOptDlg>0</tvExpOptDlg>
|
||||||
<IsCurrentTarget>0</IsCurrentTarget>
|
<IsCurrentTarget>1</IsCurrentTarget>
|
||||||
</OPTFL>
|
</OPTFL>
|
||||||
<CpuCode>7</CpuCode>
|
<CpuCode>7</CpuCode>
|
||||||
<DebugOpt>
|
<DebugOpt>
|
||||||
|
Binary file not shown.
@ -397,7 +397,7 @@ __asm(".global __ensure_systick_wrapper\n\t");
|
|||||||
/*!
|
/*!
|
||||||
* \brief set an alarm with given period in us and check the status
|
* \brief set an alarm with given period in us and check the status
|
||||||
*
|
*
|
||||||
* \param[in] __ms a time period in microsecond
|
* \param[in] __us a time period in microsecond
|
||||||
* \param[in] __timestamp_ptr an optional timestamp holder
|
* \param[in] __timestamp_ptr an optional timestamp holder
|
||||||
* \param[in] __auto_reload whether starting next period after a timeout event
|
* \param[in] __auto_reload whether starting next period after a timeout event
|
||||||
*
|
*
|
||||||
@ -411,7 +411,7 @@ __asm(".global __ensure_systick_wrapper\n\t");
|
|||||||
/*!
|
/*!
|
||||||
* \brief set an alarm with given period in us and check the status
|
* \brief set an alarm with given period in us and check the status
|
||||||
*
|
*
|
||||||
* \param[in] __ms a time period in microsecond
|
* \param[in] __us a time period in microsecond
|
||||||
* \param[in] __timestamp_ptr an optional timestamp holder
|
* \param[in] __timestamp_ptr an optional timestamp holder
|
||||||
*
|
*
|
||||||
* \return bool whether it is timeout
|
* \return bool whether it is timeout
|
||||||
@ -423,7 +423,7 @@ __asm(".global __ensure_systick_wrapper\n\t");
|
|||||||
/*!
|
/*!
|
||||||
* \brief set an alarm with given period in us and check the status
|
* \brief set an alarm with given period in us and check the status
|
||||||
*
|
*
|
||||||
* \param[in] __ms a time period in microsecond
|
* \param[in] __us a time period in microsecond
|
||||||
* \param[in] __timestamp_ptr an optional timestamp holder
|
* \param[in] __timestamp_ptr an optional timestamp holder
|
||||||
*
|
*
|
||||||
* \return bool whether it is timeout
|
* \return bool whether it is timeout
|
||||||
@ -434,7 +434,7 @@ __asm(".global __ensure_systick_wrapper\n\t");
|
|||||||
/*!
|
/*!
|
||||||
* \brief set an alarm with given period in us and check the status
|
* \brief set an alarm with given period in us and check the status
|
||||||
*
|
*
|
||||||
* \param[in] __ms a time period in microsecond
|
* \param[in] __us a time period in microsecond
|
||||||
* \param[in] ... an optional timestamp holder
|
* \param[in] ... an optional timestamp holder
|
||||||
* \param[in] ... an optional indicator for whether starting next period after a timeout event
|
* \param[in] ... an optional indicator for whether starting next period after a timeout event
|
||||||
*
|
*
|
||||||
|
Binary file not shown.
@ -397,7 +397,7 @@ __asm(".global __ensure_systick_wrapper\n\t");
|
|||||||
/*!
|
/*!
|
||||||
* \brief set an alarm with given period in us and check the status
|
* \brief set an alarm with given period in us and check the status
|
||||||
*
|
*
|
||||||
* \param[in] __ms a time period in microsecond
|
* \param[in] __us a time period in microsecond
|
||||||
* \param[in] __timestamp_ptr an optional timestamp holder
|
* \param[in] __timestamp_ptr an optional timestamp holder
|
||||||
* \param[in] __auto_reload whether starting next period after a timeout event
|
* \param[in] __auto_reload whether starting next period after a timeout event
|
||||||
*
|
*
|
||||||
@ -411,7 +411,7 @@ __asm(".global __ensure_systick_wrapper\n\t");
|
|||||||
/*!
|
/*!
|
||||||
* \brief set an alarm with given period in us and check the status
|
* \brief set an alarm with given period in us and check the status
|
||||||
*
|
*
|
||||||
* \param[in] __ms a time period in microsecond
|
* \param[in] __us a time period in microsecond
|
||||||
* \param[in] __timestamp_ptr an optional timestamp holder
|
* \param[in] __timestamp_ptr an optional timestamp holder
|
||||||
*
|
*
|
||||||
* \return bool whether it is timeout
|
* \return bool whether it is timeout
|
||||||
@ -423,7 +423,7 @@ __asm(".global __ensure_systick_wrapper\n\t");
|
|||||||
/*!
|
/*!
|
||||||
* \brief set an alarm with given period in us and check the status
|
* \brief set an alarm with given period in us and check the status
|
||||||
*
|
*
|
||||||
* \param[in] __ms a time period in microsecond
|
* \param[in] __us a time period in microsecond
|
||||||
* \param[in] __timestamp_ptr an optional timestamp holder
|
* \param[in] __timestamp_ptr an optional timestamp holder
|
||||||
*
|
*
|
||||||
* \return bool whether it is timeout
|
* \return bool whether it is timeout
|
||||||
@ -434,7 +434,7 @@ __asm(".global __ensure_systick_wrapper\n\t");
|
|||||||
/*!
|
/*!
|
||||||
* \brief set an alarm with given period in us and check the status
|
* \brief set an alarm with given period in us and check the status
|
||||||
*
|
*
|
||||||
* \param[in] __ms a time period in microsecond
|
* \param[in] __us a time period in microsecond
|
||||||
* \param[in] ... an optional timestamp holder
|
* \param[in] ... an optional timestamp holder
|
||||||
* \param[in] ... an optional indicator for whether starting next period after a timeout event
|
* \param[in] ... an optional indicator for whether starting next period after a timeout event
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user