time: add up_perf_init weak_function

Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
This commit is contained in:
yinshengkai 2023-04-18 14:37:00 +08:00 committed by Alan Carvalho de Assis
parent e9d7210d02
commit 81553deb53
2 changed files with 10 additions and 0 deletions

View File

@ -356,6 +356,11 @@ int weak_function up_alarm_tick_start(clock_t ticks)
* units.
****************************************************************************/
void weak_function up_perf_init(FAR void *arg)
{
UNUSED(arg);
}
unsigned long weak_function up_perf_gettime(void)
{
unsigned long ret = 0;

View File

@ -395,6 +395,11 @@ int weak_function up_timer_tick_start(clock_t ticks)
* units.
****************************************************************************/
void weak_function up_perf_init(FAR void *arg)
{
UNUSED(arg);
}
unsigned long weak_function up_perf_gettime(void)
{
unsigned long ret = 0;