| /developtools/smartperf_host/ide/src/trace/component/trace/sheet/native-memory/ |
| D | TabPaneNMStatstics.ts | 85 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/ |
| D | TabPaneNMStatstics.ts | 83 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/ |
| D | quickstart_native_memory.md | 10 * 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分配的内存。
|
| D | des_tables.md | 109 |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/ |
| D | quickstart_native_memory.md | 10 * 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分配的内存。
|
| D | des_tables.md | 109 |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/ |
| D | statistics_test.cpp | 90 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()
|
| D | malloc_test.cpp | 67 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()
|
| D | hook_test.c | 69 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()
|
| D | perf_test_data.cpp | 55 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/ |
| D | syscap_interface.c | 101 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/ |
| D | hiperf_malloc_demo.cpp | 35 temp = malloc(bufSize); in main()
|
| /developtools/syscap_codec/src/ |
| D | syscap_tool.c | 91 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()
|
| D | create_pcid.c | 82 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/ |
| D | test_main.cpp | 40 buf = (char *)malloc(size * MB_PER_BYTE); in main()
|
| /developtools/profiler/host/smartperf/trace_streamer/doc/ |
| D | des_timestamp.md | 47 <td>native_memory(malloc, free, mmap,munmap, 统计事件)</td>
|
| D | des_tables.md | 109 |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/ |
| D | des_timestamp.md | 47 <td>native_memory(malloc, free, mmap,munmap, 统计事件)</td>
|
| D | des_tables.md | 129 |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/ |
| D | diskio_data_plugin.cpp | 49 buffer_ = malloc(READ_BUFFER_SIZE); in Start()
|
| /developtools/profiler/device/services/ipc/src/ |
| D | socket_context.cpp | 175 int8_t* data = reinterpret_cast<int8_t*>(malloc(size)); in SendProtobuf()
|
| /developtools/syscap_codec/napi/ |
| D | napi_query_syscap.cpp | 108 allSyscapBuffer = (char *)malloc(sumLen); in GetSystemCapability()
|
| /developtools/profiler/device/plugins/native_hook/test/unittest/ |
| D | check_hook_data_test.cpp | 200 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/ |
| D | HdcJdwpSimulator.cpp | 89 buf->base = (char *)malloc(suggested_size); in alloc_buffer()
|
| /developtools/profiler/device/plugins/cpu_plugin/src/ |
| D | cpu_data_plugin.cpp | 71 buffer_ = malloc(READ_BUFFER_SIZE); in Start()
|