Home
last modified time | relevance | path

Searched refs:OSFunctionCost (Results 1 – 2 of 2) sorted by relevance

/TwlSDK-5.1.0/include/nitro/os/common/
DfunctionCost.h61 OSFunctionCost; typedef
63 #define OSi_SIZEOF_FUNCTIONCOST sizeof(OSFunctionCost)
68 OSFunctionCost *current; // current pointer
69 OSFunctionCost *limit; // buffer limit as hi-address
75 OSFunctionCost array[1]; // valiable length
80 #define OSi_COSTINFO_SIZEOF_HEADERPART (sizeof(OSFunctionCostInfo) - sizeof(OSFunctionCost))
/TwlSDK-5.1.0/build/libraries/os/common/src/
Dos_functionCost.c35 static void OSi_SetStatistics(void *statBuf, OSFunctionCost *entry, OSFunctionCost *exit);
152 SDK_ASSERTMSG((size >= OSi_COSTINFO_SIZEOF_HEADERPART + sizeof(OSFunctionCost)), in OS_InitFunctionCost()
174 (*infoPtr)->limit = (OSFunctionCost *)((u32)buf in OS_InitFunctionCost()
176 … + OS_CalcFunctionCostLines(size) * sizeof(OSFunctionCost)); in OS_InitFunctionCost()
204 int n = (int)((size - OSi_COSTINFO_SIZEOF_HEADERPART) / sizeof(OSFunctionCost)); in OS_CalcFunctionCostLines()
221 return OSi_COSTINFO_SIZEOF_HEADERPART + lines * sizeof(OSFunctionCost); in OS_CalcFunctionCostBufferSize()
369 str r0, [ r2, #OSFunctionCost.entry.name ] in __PROFILE_ENTRY()
375 str r0, [ r2, #OSFunctionCost.entry.time ] in __PROFILE_ENTRY()
380 str r3, [ r2, #OSFunctionCost.exit.interval ] in __PROFILE_ENTRY()
446 str r0, [ r2, #OSFunctionCost.exit.tag ] in __PROFILE_EXIT()
[all …]