Home
last modified time | relevance | path

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

/percepio-3.6.0/DFM/
DdfmCrashCatcher.c42 static void dumpHalfWords(const uint16_t* pMemory, size_t elementCount);
43 static void dumpWords(const uint32_t* pMemory, size_t elementCount);
199 …Catcher_DumpMemory(const void* pvMemory, CrashCatcherElementSizes elementSize, size_t elementCount) in CrashCatcher_DumpMemory() argument
223 if (elementCount == 0) in CrashCatcher_DumpMemory()
235 if ( current_usage + elementCount >= CRASH_DUMP_BUFFER_SIZE) in CrashCatcher_DumpMemory()
241 memcpy((void*)ucBufferPos, pvMemory, elementCount); in CrashCatcher_DumpMemory()
242 ucBufferPos += elementCount; in CrashCatcher_DumpMemory()
247 if ( current_usage + elementCount*2 >= CRASH_DUMP_BUFFER_SIZE) in CrashCatcher_DumpMemory()
252 dumpHalfWords(pvMemory, elementCount); in CrashCatcher_DumpMemory()
258 if ( current_usage + elementCount*4 >= CRASH_DUMP_BUFFER_SIZE) in CrashCatcher_DumpMemory()
[all …]