You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
792 B
52 lines
792 B
/**
|
|
* @file lv_profiler.h
|
|
*
|
|
*/
|
|
|
|
#ifndef LV_PROFILER_H
|
|
#define LV_PROFILER_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/*********************
|
|
* INCLUDES
|
|
*********************/
|
|
|
|
#include "../lv_conf_internal.h"
|
|
|
|
#if LV_USE_PROFILER
|
|
|
|
#include LV_PROFILER_INCLUDE
|
|
|
|
/*********************
|
|
* DEFINES
|
|
*********************/
|
|
|
|
/**********************
|
|
* TYPEDEFS
|
|
**********************/
|
|
|
|
/**********************
|
|
* GLOBAL PROTOTYPES
|
|
**********************/
|
|
|
|
/**********************
|
|
* MACROS
|
|
**********************/
|
|
|
|
#else
|
|
|
|
#define LV_PROFILER_BEGIN
|
|
#define LV_PROFILER_END
|
|
#define LV_PROFILER_BEGIN_TAG(tag) LV_UNUSED(tag)
|
|
#define LV_PROFILER_END_TAG(tag) LV_UNUSED(tag)
|
|
|
|
#endif /*LV_USE_PROFILER*/
|
|
|
|
#ifdef __cplusplus
|
|
} /*extern "C"*/
|
|
#endif
|
|
|
|
#endif /*LV_PROFILER_H*/
|
|
|