~ubuntu-branches/ubuntu/trusty/bubblemon/trusty

« back to all changes in this revision

Viewing changes to PROFILING

  • Committer: Bazaar Package Importer
  • Author(s): Bernd Eckenfels
  • Date: 2001-11-10 03:18:08 UTC
  • Revision ID: james.westby@ubuntu.com-20011110031808-zlvkhswukmstqrsc
Tags: upstream-1.0.9
ImportĀ upstreamĀ versionĀ 1.0.9

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
If performance sucks, try this from the bubblemon directory:
 
2
 
 
3
./configure --enable-profiling
 
4
make clean ; make
 
5
cd src
 
6
./bubblemon_applet --activate-goad-server=bubblemon_applet
 
7
[use your system "normally" for roughly one minute, until bubblemon terminates]
 
8
gprof -l -p ./bubblemon_applet ~/gmon.out
 
9
 
 
10
This will tell you on what lines the program spends most of its time.
 
11
 
 
12
To find out which functions take the most time, try:
 
13
 
 
14
gprof -p ./bubblemon_applet ~/gmon.out
 
15
 
 
16
Happy profiling!
 
17
 
 
18
  //Johan