|
by: takashi |
last post by:
Hi, I am having trouble, using 'gnu profiler'. The problem is when I type:
gprof executable_name
I don't get any accumulated time for the execution of the program. The
detail of what I have done is the following.
1) I created a program named "prac2.cpp". Prac2.cpp is the following.
#include<iostream>
using namespace std;
int main(){
|
by: Andrew Bonello |
last post by:
Hi
I have written a C++ program (Redhat Linux 7.2, gcc v2.96). The
program makes a sequence of calls to rand() after having seeded the
random number generator using srand( 0 ). Under normal circumstances,
for a given input state, the sequence of random numbers generated is
exactly reproduced each time the program is run. So, if I run the tool
3 times in succession, the path of execution is completely identical
each time as far as the...
|
by: Jens Neubert |
last post by:
Hello,
I'm looking for someone with gprof-experiance.
I want to know, if it is possible to profile the Java-C Native Interface
with this profiler and if this profiler can measure multithreaded
application.
so long
Jens
|
by: Gumby |
last post by:
Is gprof on Solaris 9 X86 not as supported as Solaris 9 Sparc?
At work when we try to compile a program with -pg to use
gprof to performance profile our software, the compiled
app just dies instantly when it's started, no gmon.out
file is made and the core file can't be traced by ddd:
(it warns there's no symbols or no stack something like that).
We did remove /usr/lib from the LD_LIBRARY_PATH and
substituted it with /usr/lib/libp as...
|
by: Dave |
last post by:
Hello,
I would like to profile a Python program using gprof.
I already rebuilt Python with CC="gcc -pg"
../configure. So, I should be able to use gprof. How do
I do that? Should I first run Python and then gprof?
What are the steps?
Thanks a lot!
|
|
by: Dave |
last post by:
Hello All,
I googled to find an answer for my question, but had
no luck. I'm trying to profile a Python program using
gprof, but I don't understand what _moncount and
mcount are. I couldn't find their source code under
Python source tree. moncount takes about 30% of my
program... What are _moncount and mcount for? Are they
functions or variables? Any ideas?
|
by: AlvaroMako |
last post by:
Hello:
I am using g++, on linux, and i am trying profile out my program but I
have problems with the calls to the symbols that are in shared library,
does not leave anything these symbols. Everything is compiled with -pg
-g. Where is the problem? Gprof works with the dynamic librarys ???
Thanks
|
by: broeisi |
last post by:
Hello,
Is there a way in C to get information at runtime if a processor is 32
or 64 bit?
Cheers,
Broeisi
|
by: =?iso-8859-1?q?Nicolas_Herv=E9?= |
last post by:
I am using gprof, and as explain in
http://www.gnu.org/software/binutils/manual/gprof-2.9.1/html_node/gprof_18.html#SEC18
I could use the "-g -pg -a" options of gcc and then use the "-l -A"
options of gprof to obtain an anotated source listing at the basic
bloc level.
Unfortunately my version of gcc (4.0.0) does not recognize the "-a"
option.
cc1: error: unrecognized command line option "-a"
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|