|
shengine pre-release
shengine by mrsinho
|
Profiling functionality for the shengine module.
More...
Go to the source code of this file.
Data Structures | |
| struct | ShProfilingTimer |
| Structure to hold profiling timer information in ShEngine. More... | |
Macros | |
| #define | SH_PROFILING_TIMER_MAX_EXT_COUNT 1024 |
| Maximum number of extension timers supported. | |
Typedefs | |
| typedef enum ShProfilingTimerType | ShProfilingTimerType |
| typedef struct ShProfilingTimer | ShProfilingTimer |
Functions | |
| uint8_t | shProfilingTimerStart (ShProfilingTimer *p_timer, ShProfilingTimerType type) |
| Starts the specified profiling timer. | |
| uint8_t | shProfilingTimerEnd (ShProfilingTimer *p_timer, ShProfilingTimerType type) |
| Ends the specified profiling timer. | |
| uint8_t | shProfilingTimerSetExtCount (ShProfilingTimer *p_timer, uint32_t ext_count) |
| Sets the count of extension timers in the ShProfilingTimer structure. | |
| uint8_t | shProfilingTimerStartExt (ShProfilingTimer *p_timer, SmdVarName name, uint32_t timer_idx) |
| Starts an extension profiling timer with the specified name and index. | |
| uint8_t | shProfilingTimerEndExt (ShProfilingTimer *p_timer, uint32_t timer_idx) |
| Ends an extension profiling timer with the specified index. | |
Profiling functionality for the shengine module.
The shProfiling.h file contains structures and functions related to profiling and timing within the shengine framework.
| #define SH_PROFILING_TIMER_MAX_EXT_COUNT 1024 |
Maximum number of extension timers supported.
| typedef struct ShProfilingTimer ShProfilingTimer |
| typedef enum ShProfilingTimerType ShProfilingTimerType |
| enum ShProfilingTimerType |
Types of profiling timers used by the shengine library.
The ShProfilingTimerType enumeration defines various types of profiling timers used by the shengine library. Each type corresponds to a specific aspect of the engine's execution.
|
extern |
Ends the specified profiling timer.
| p_timer | Pointer to a valid ShProfilingTimer structure. |
| type | Type of the profiling timer to end. |
|
extern |
Ends an extension profiling timer with the specified index.
| p_timer | Pointer to a valid ShProfilingTimer structure. |
| timer_idx | Index of the extension timer. |
|
extern |
Sets the count of extension timers in the ShProfilingTimer structure.
| p_timer | Pointer to a valid ShProfilingTimer structure. |
| ext_count | Count of extension timers. |
|
extern |
Starts the specified profiling timer.
| p_timer | Pointer to a valid ShProfilingTimer structure. |
| type | Type of the profiling timer to start. |
|
extern |
Starts an extension profiling timer with the specified name and index.
| p_timer | Pointer to a valid ShProfilingTimer structure. |
| name | Name of the extension timer. |
| timer_idx | Index of the extension timer. |