profiler

Running Visual VM from eclipse

故事扮演 提交于 2019-12-10 01:06:53
问题 I am trying to debug a java app using Visual VM in Eclipse kepler. I am executing the class having main method selecting Visual VM as launcher. I have configured Visual VM as per the instructions given in http://blog.idrsolutions.com/2013/05/setting-up-visualvm-in-under-5-minutes. I am getting the following error: An internal error occurred during: “Launching TestNew”. java.lang.NullPointerException “TestNew” is the name of the class with main method I am trying to execute. please help. 回答1:

Memory profiler for .NET Compact Framework

假装没事ソ 提交于 2019-12-09 10:45:09
问题 Is there a tool I could use for profiling (memory) a .NET compact framework 3.5 application (Windows Mobile)? Thanks! 回答1: Use the Remote Performance Monitor that comes with Studio. It gives snapshots of the GC heap, traceable roots and much more. 回答2: Equatec supports .NET CF 3.5 回答3: The CLR Profiler also comes with the CF-SDK, and allows to view the heap of a process. In contrast to Remote Performance Monitor it doesn't crash all the time ;-) 来源: https://stackoverflow.com/questions/1048939

Profilers Instrumenting Vs Sampling

回眸只為那壹抹淺笑 提交于 2019-12-09 09:43:31
问题 I am doing a study to between profilers mainly instrumenting and sampling. I have came up with the following info: sampling: stop the execution of program, take PC and thus deduce were the program is instrumenting: add some overhead code to the program so it would increment some pointers to know the program If the above info is wrong correct me. After this I was looking at the time of execution and some said that instrumenting takes more time than sampling! is this correct? if yes why is that

calculating gst_throughput and gld_throughput with nvprof

蹲街弑〆低调 提交于 2019-12-08 12:39:39
问题 I got the following problem. I want to measure the gst_efficiency and the gld_efficiency for my cuda application using nvprof . The documentation distributed with cuda 5.0 tells me to generate these using the following formulas for devices with compute capability 2.0-3.0: gld_efficiency = 100 * gld_requested_throughput / gld_throughput gst_efficiency = 100 * gst_requested_throughput / gst_throughput For the required metrics the following formulas are given: gld_throughput = ((128 * global

CUDA - Confusion about the Visual Profiler results of “branch” and “divergent branch” (2)

给你一囗甜甜゛ 提交于 2019-12-08 07:02:37
问题 I use NVIDIA Visual Profiler to analyze my code. The test kernels are: //////////////////////////////////////////////////////////////// Group 1 static __global__ void gpu_test_divergency_0(float *a, float *b) { int tid = threadIdx.x + blockIdx.x * blockDim.x; if (tid < 0) { a[tid] = tid; } else { b[tid] = tid; } } static __global__ void gpu_test_divergency_1(float *a, float *b) { int tid = threadIdx.x + blockIdx.x * blockDim.x; if (tid == 0) { a[tid] = tid; } else { b[tid] = tid; } } static _

Multi-threaded time-based call hierarchy

妖精的绣舞 提交于 2019-12-07 16:23:22
问题 I am using eclipse to write java code. If I'm debugging some code I can set a breakpoint and follow along as the code goes through each of the functions or I can backtrack. I can also look at the call hierarchy or the references to get an idea. But that's not enough. I would like to have a some sort of time-based visualization of what each thread is doing along the process from ... let's say "point A" (pressing a button on the interface) to "point B" (getting the result). I want to see which

how to profile CUDA using Nvidia Visual Profile with Matlab

谁都会走 提交于 2019-12-07 14:14:41
问题 I need to profile my CUDA code from Matlab. I have been converting some of the matlab code to CUDA in order to increase performance. I have done this by calling a mexFunction which calls the CUDA. The matlab feval function doesn't provide enough control. I can run the mexFunction through VS to debug this, but i need to debug the kernel as well, as i believe this is were the issue is. So, my question is how do i run the CUDA code through the profiler when executing the matlab functions that

Where is the C++ profiler in Netbeans 7.1.2

*爱你&永不变心* 提交于 2019-12-07 11:03:51
问题 Netbeans 6.9 had a profiler facility for C++ (we had to install the sun studio to use it). However, I cannot find the C++ profiler in netbeans 7.1. The sun studio 12.3 has already installed and works with netbeans 7.1. I also cannot find the "profile" section in the c++ project properties in NB 7.1 while that existed in NB 6.9. 回答1: according to the Netbeans 7.1 release notes, the C/C++ Profiling Tools were removed from the standard distribution of the IDE. link to the release notes: http:/

Windows Eclipse CDT profiler

十年热恋 提交于 2019-12-07 10:02:41
问题 I am using Eclipse CDT (Juno) under Windows 7, can anyone recommend a good profiler for that environment, please? If there is none, please advise about stand alone application which might be appropriate. 回答1: You can use gprof MinGW port in Windows7. For more details see this post Profiling C code on Windows when using Eclipse 来源: https://stackoverflow.com/questions/17470444/windows-eclipse-cdt-profiler

Heap memory vs object memory

徘徊边缘 提交于 2019-12-07 10:01:03
问题 According to a paper about Java memory and characteristics: "... The memory score partitions into two types: heap memory, which is the memory consumed by the application during runtime, and object memory, which is the memory allocated by various objects used in the program, such as integers and strings, etc. ..." Do they mean the stack memory when they say object memory, or what do they mean? (confused since, if I am not wrong, objects are allocated in the heap in Java) Second question, if I