time: add up_perf_init weak_function
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
This commit is contained in:
parent
e9d7210d02
commit
81553deb53
@ -356,6 +356,11 @@ int weak_function up_alarm_tick_start(clock_t ticks)
|
|||||||
* units.
|
* units.
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
void weak_function up_perf_init(FAR void *arg)
|
||||||
|
{
|
||||||
|
UNUSED(arg);
|
||||||
|
}
|
||||||
|
|
||||||
unsigned long weak_function up_perf_gettime(void)
|
unsigned long weak_function up_perf_gettime(void)
|
||||||
{
|
{
|
||||||
unsigned long ret = 0;
|
unsigned long ret = 0;
|
||||||
|
@ -395,6 +395,11 @@ int weak_function up_timer_tick_start(clock_t ticks)
|
|||||||
* units.
|
* units.
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
void weak_function up_perf_init(FAR void *arg)
|
||||||
|
{
|
||||||
|
UNUSED(arg);
|
||||||
|
}
|
||||||
|
|
||||||
unsigned long weak_function up_perf_gettime(void)
|
unsigned long weak_function up_perf_gettime(void)
|
||||||
{
|
{
|
||||||
unsigned long ret = 0;
|
unsigned long ret = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user