When I run gprof on my C program it says no time accumulated for my program and shows 0 time for all function calls. However it does count the function calls.
How do I modify my program so that gprof will be able to count how much time something takes to run?
...
Hello, I've got a project for school where I have to find out how many cache misses a filesystem will have under heavy and light loads and on a multiple processor machine. After discussing this with my professor, I came up with a basic plan of execution:
Create a program which will bog down the filesystem and fill up the buffer cache.
...
Everyone always says to profile your program before performing optimizations but no-one ever describes how to do so.
What are your practices for profiling C code?
...
I use Eclipse MAT to analyse hprof files. It is very good but if you have a 2Gb heap dump then you need to run MAT with a 2Gb+ heap size itself to be able to load the complete heap dump.
I was wondering if anyone knows of a tool that could analyse a 2Gb hprof file without using that much memory itself (e.g. it doesn't load the complete ...
How do I compare memory heap dumps in Netbeans?
What I have done is to configure my project to use profiling, then added several profiling points at chosen lines of code (similar to setting breakpoints). These profiling points trigger a "snapshot", which creates a memory dump.
As my application is running, the profiling tab lists each ...
I'm trying to use EQATEC Profiler to profile my ASP.Net app. I followed the instructions listed here. It worked the first time, but every since then, when I run my app, I don't get a "Profiled app started" message. Then when I click on the "Take snapshot" button, I get the following:
"Taking snapshot ...failed: The remote server retu...
Hi,
We are using ‘Visual Studio Team System 2008 – Development Edition’ IDE to build ASP.NET applications.
Now we planned to carry-out the following activities using this IDE and I am new to using these activities.
Static Analysis
Code Metrics
Profiling
Code Coverage
Would you please let me know if there are any good reference ...
Currently my asp.net-mvc site makes the w3wp.exe process cpu run at 100%.
I figured red-gate's ants profiler should be able to give me some clues as about where I should be looking.
When I start a profiling session I can choose between IIS hosted- and dev server hosted asp.net web application. One of these look like the most logical opt...
I wish (I dont know if its possible) to build profiling support into my code instead of using some external profiler. I have heard that there is some profiler api that is used by most of the profiler writers. Can that api be used to profile from within the code that is being executed? Are there any other considerations?
...
I'd like a profiling application for .NET with an API for me to use to gain on-the-fly metrics and then dynamically alter application settings for performance optimisation.
Does such a program exist?
Thanks
...
Situation: ASP.NET live website that's occasionally too busy.
Adding full profiling to the code will be too heavy an impact on the performance. Using performance monitor, we've quickly find a saw-teeth figure in the "bytes in all heaps" counter, which pair with the GC counters. We consider certain pieces of code as being the culprit.
...
I got rather large GWT application. Opened in several Firefox tabs, it eats huge amount of memory. The first ToDo thing is to minimize number of widgets created in UI.
What instruments do you use to control memory usage of application, show a number of widgets in the page or do general profiling?
...
I'm missing something very basic.
class C:
def __init__(self):
self.N = 100
pass
def f(self, param):
print 'C.f -- param'
for k in xrange(param):
for i in xrange(self.N):
for j in xrange(self.N):
a = float(i)/(1+float(j)) + float(i/self.N) ** float...
I found following memory profiler:
http://www.solucorp.qc.ca/miscprj/mapmalloc.hc
It should be light and fast. Can someone share any experience with it?
...
How to determine exactly what a piece of software is doing when it is stuck, unresponsive to user input and not updating its display?
I have tried oprofile, which records what function is executing, but it's not giving me enough clues. It counts everything that happens during the time it's running, when I need to see what's happen...
Hi, I am working on Linux environment. I have two 'C' source packages train and test_train.
train package when compiled generates libtrain.so
test_train links to libtrain.so and generates executable train-test
Now I want to generate a call graph using gprof which shows calling sequence of functions in main program as well as those in...
I'm using profiler in Visual Studio 2008 like this, but when I profiling these codes I can only find the methods written by myself in "Call Tree" view. How can I track the inner/private methods defined in .NET Framework?
...
I'm new into Java profiling, and I'd like to ask about it.
Does it make sense to profile an application on the server, where I only have the console?
Is there any console profiler which make sense?
Or should I profile the application only on localhost?
...
I just switched to Nhibernate2.1.0.4000
with Nfluent 1.0RTM and Linq To Nhibernate 1.0.0.
Suddenly I found that now a simple session.Save takes a minute compared to before not more than 10 secs. As I switch back times are back to normal...
I dumbfounded.
Has anyone made the same experience? What could cause the drag ? some changed defaul...
Our Mnesia DB is running slowly and we think it should be somewhat faster.
So we need to profile it and work out what is happening.
There are a number of options that suggest themselves:
run fprof and see where the time is going
run cprof and see which functions are called a lot
However these are both fairly standard performance ...