mirror of
https://github.com/apache/nuttx.git
synced 2026-05-26 10:46:28 +08:00
time: add up_perf_init weak_function
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
e9d7210d02
commit
81553deb53
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user