Home
last modified time | relevance | path

Searched refs:malloc (Results 1 – 25 of 29) sorted by relevance

12

/developtools/smartperf_host/ide/src/trace/component/trace/sheet/native-memory/
DTabPaneNMStatstics.ts85 result.map((malloc) => {
87 if (malloc.eventType == 'AllocEvent') {
88 data.memoryTap = 'Malloc ' + Utils.getByteWithUnit(malloc.heapSize);
90 data.memoryTap = 'Mmap ' + Utils.getByteWithUnit(malloc.heapSize);
92 data.existing = malloc.allocByte - malloc.freeByte;
93 data.allocCount = malloc.allocCount - malloc.freeCount;
94 data.freeCount = malloc.freeCount;
95 data.freeByte = malloc.freeByte;
96 data.totalBytes = malloc.allocByte;
97 data.totalCount = malloc.allocCount;
[all …]
/developtools/profiler/host/smartperf/ide/src/trace/component/trace/sheet/native-memory/
DTabPaneNMStatstics.ts83 result.map((malloc) => {
85 if (malloc.eventType == 'AllocEvent') {
86 data.memoryTap = 'Malloc ' + Utils.getByteWithUnit(malloc.heapSize);
88 data.memoryTap = 'Mmap ' + Utils.getByteWithUnit(malloc.heapSize);
90 data.existing = malloc.allocByte - malloc.freeByte;
91 data.allocCount = malloc.allocCount - malloc.freeCount;
92 data.freeCount = malloc.freeCount;
93 data.freeByte = malloc.freeByte;
94 data.totalBytes = malloc.allocByte;
95 data.totalCount = malloc.allocCount;
[all …]
/developtools/profiler/host/smartperf/ide/src/doc/md/
Dquickstart_native_memory.md10 * Filter Memory Size:只抓取大于该size的malloc数据(free不受影响)。
25 * filter_size:过滤malloc的大小,最小值是0,默认值是4096Byte。
44 + All Heap&AnonuymousVM:malloc分配和mmap分配的总量。
45 + All Heap:malloc分配的内存。
94 + All Heap:malloc分配的内存。
Ddes_tables.md109 |native_hook | - |nativehook/hookdaemon |malloc && mmap内存数据 |
111 |native_hook_statistic | - |nativehook/hookdaemon |malloc && mmap统计数据 |
925 - type:事件类型,0代表malloc事件,1代表mmap事件
/developtools/smartperf_host/ide/src/doc/md/
Dquickstart_native_memory.md10 * Filter Memory Size:只抓取大于该size的malloc数据(free不受影响)。
25 * filter_size:过滤malloc的大小,最小值是0,默认值是4096Byte。
44 + All Heap&AnonuymousVM:malloc分配和mmap分配的总量。
45 + All Heap:malloc分配的内存。
94 + All Heap:malloc分配的内存。
Ddes_tables.md109 |native_hook | - |nativehook/hookdaemon |malloc && mmap内存数据 |
111 |native_hook_statistic | - |nativehook/hookdaemon |malloc && mmap统计数据 |
925 - type:事件类型,0代表malloc事件,1代表mmap事件
/developtools/profiler/device/plugins/native_hook/test/
Dstatistics_test.cpp90 char* ptr = static_cast<char*>(malloc(mallocSize)); in DepthMallocFree()
153 char* ptr = static_cast<char*>(malloc(MALLOC_SIZE)); in Fun1()
171 char *ptr = static_cast<char*>(malloc(MALLOC_SIZE)); in Fun2()
188 char *ptr = static_cast<char*>(malloc(MALLOC_SIZE)); in Fun3()
206 char *ptr = static_cast<char*>(malloc(MALLOC_SIZE)); in Fun4()
223 char *ptr = static_cast<char*>(malloc(MALLOC_SIZE)); in Fun5()
Dmalloc_test.cpp67 return (char*)malloc(mallocSize); in DepthMalloc()
168 char* p = (char*)malloc(mallocSize); in ApplyForRealloc()
323 char* data = (char*)malloc(length + 1); in MmapReadFile()
361 char* data = (char*)malloc(strLength + 1); in RandString()
507 pthread_t** thrArrayList = (pthread_t**)malloc(sizeof(pthread_t*) * typeNum); in main()
520 thrArrayList[type] = (pthread_t*)malloc(sizeof(pthread_t) * threadNum); in main()
541 thrArrayList[type] = (pthread_t*)malloc(sizeof(pthread_t) * threadNum); in main()
Dhook_test.c69 return (char*)malloc(mallocSize); in DepthMalloc()
169 char* p = (char*)malloc(mallocSize); in ApplyForRealloc()
304 char* data = (char*)malloc(length + 1); in MmapReadFile()
346 char* data = (char*)malloc(strLength + 1); in RandString()
489 pthread_t** thrArrayList = (pthread_t**)malloc(sizeof(pthread_t*) * typeNum); in main()
502 thrArrayList[type] = (pthread_t*)malloc(sizeof(pthread_t) * threadNum); in main()
526 thrArrayList[type] = (pthread_t*)malloc(sizeof(pthread_t) * threadNum); in main()
Dperf_test_data.cpp55 char* mem = (char *)malloc(g_memSize); in UserThread()
173 pthread_t* thrArray = (pthread_t*)malloc(sizeof(pthread_t) * threadNum); in main()
/developtools/syscap_codec/interfaces/inner_api/
Dsyscap_interface.c101 contextBuffer = (char *)malloc(statBuf.st_size + 1); in GetFileContext()
215 strSyscap = (char (*)[SINGLE_SYSCAP_LEN])malloc(countOfSyscap * SINGLE_SYSCAP_LEN); in DecodeOsSyscap()
276 outputArray = (char (*)[SINGLE_SYSCAP_LEN])malloc(bufferLen); in DecodePrivateSyscap()
462 osSysCapIndex = (uint16_t *)malloc(sizeof(uint16_t) * sysCapArraySize); in DecodeRpcidToStringFormat()
470 priSyscapArray = (char *)malloc(sysCapArraySize * SINGLE_SYSCAP_LEN); in DecodeRpcidToStringFormat()
505 outBuffer = (char *)malloc(outBufferLen); in DecodeRpcidToStringFormat()
590 char *tempSyscap = (char *)malloc(sizeof(char) * SINGLE_SYSCAP_LEN); in ComparePcidString()
625 char *temp = (char *)malloc(sizeof(char) * SINGLE_SYSCAP_LEN); in ComparePcidString()
/developtools/hiperf/demo/cpp/
Dhiperf_malloc_demo.cpp35 temp = malloc(bufSize); in main()
/developtools/syscap_codec/src/
Dsyscap_tool.c91 contextBuffer = (char *)malloc(statBuf.st_size + 1); in GetFileContext()
224 convertedBuffer = (char *)malloc(convertedBufLen); in RPCIDEncode()
471 osSysCapIndex = (uint16_t *)malloc(sizeof(uint16_t) * sysCapArraySize); in EncodeRpcidscToString()
479 priSyscapArray = (char *)malloc((uint32_t)sysCapArraySize * SINGLE_SYSCAP_LEN); in EncodeRpcidscToString()
515 char *outBuffer = (char *)malloc(outBufferLen); in EncodeRpcidscToString()
577 char *input = (char *)malloc(inputLen + 1); in CopyInputString()
603 char *priSysCapOut = (char *)malloc(SINGLE_SYSCAP_LEN * count); in GetPriSyscapData()
Dcreate_pcid.c82 contextBuffer = (char *)malloc(statBuf.st_size + 1); in GetFileContext()
351 PCIDMain *pcidBuffer = (PCIDMain *)malloc(pcidLength); in CreatePCID()
820 priSyscapFull = (char *)malloc(priSyscapCount * SINGLE_SYSCAP_LEN); in EncodePcidscToString()
849 output = (char *)malloc(outputLen); in EncodePcidscToString()
/developtools/profiler/device/plugins/memory_plugin/src/
Dtest_main.cpp40 buf = (char *)malloc(size * MB_PER_BYTE); in main()
/developtools/profiler/host/smartperf/trace_streamer/doc/
Ddes_timestamp.md47 <td>native_memory(malloc, free, mmap,munmap, 统计事件)</td>
Ddes_tables.md109 |native_hook | - |nativehook/hookdaemon |malloc && mmap内存数据 |
111 |native_hook_statistic | - |nativehook/hookdaemon |malloc && mmap统计数据 |
925 - type:事件类型,0代表malloc事件,1代表mmap事件
/developtools/smartperf_host/trace_streamer/doc/
Ddes_timestamp.md47 <td>native_memory(malloc, free, mmap,munmap, 统计事件)</td>
Ddes_tables.md129 |native_hook | - |nativehook/hookdaemon |malloc && mmap内存数据 |
131 |native_hook_statistic | - |nativehook/hookdaemon |malloc && mmap统计数据 |
1058 - type:事件类型,0代表malloc事件,1代表mmap事件
/developtools/profiler/device/plugins/diskio_plugin/src/
Ddiskio_data_plugin.cpp49 buffer_ = malloc(READ_BUFFER_SIZE); in Start()
/developtools/profiler/device/services/ipc/src/
Dsocket_context.cpp175 int8_t* data = reinterpret_cast<int8_t*>(malloc(size)); in SendProtobuf()
/developtools/syscap_codec/napi/
Dnapi_query_syscap.cpp108 allSyscapBuffer = (char *)malloc(sumLen); in GetSystemCapability()
/developtools/profiler/device/plugins/native_hook/test/unittest/
Dcheck_hook_data_test.cpp200 return reinterpret_cast<char *>(malloc(DEFAULT_MALLOC_SIZE)); in DepthMalloc()
305 auto ret = malloc(DEFAULT_MALLOC_SIZE); in StartCallocProcess()
329 char *p = reinterpret_cast<char *>(malloc(DEFAULT_MALLOC_SIZE)); in ApplyForRealloc()
/developtools/hdc/src/test/jdwp/
DHdcJdwpSimulator.cpp89 buf->base = (char *)malloc(suggested_size); in alloc_buffer()
/developtools/profiler/device/plugins/cpu_plugin/src/
Dcpu_data_plugin.cpp71 buffer_ = malloc(READ_BUFFER_SIZE); in Start()

12