Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/elixir/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Memory management 对动态分配内存的访问分数_Memory Management_Heap_Valgrind_Performancecounter_Purify - Fatal编程技术网

Memory management 对动态分配内存的访问分数

Memory management 对动态分配内存的访问分数,memory-management,heap,valgrind,performancecounter,purify,Memory Management,Heap,Valgrind,Performancecounter,Purify,我需要估计从应用程序(用“C/”C++编写)进行的所有内存访问中有多少部分进入了动态分配的内存(heap/mmap-ed内存区域).由于估计值应该足够好,我想知道是否有人知道通过硬件性能计数器或通过Vlagrind/Purify之类的工具使用任何采样技术。我真的不想通过PIN之类的工具编写自己的重型二进制指令。顺便说一句,我在x86-64上使用Linux 谢谢 阿尔卡

我需要估计从应用程序(用“C/”C++编写)进行的所有内存访问中有多少部分进入了动态分配的内存(heap/mmap-ed内存区域).由于估计值应该足够好,我想知道是否有人知道通过硬件性能计数器或通过Vlagrind/Purify之类的工具使用任何采样技术。我真的不想通过PIN之类的工具编写自己的重型二进制指令。顺便说一句,我在x86-64上使用Linux

谢谢 阿尔卡