similar to: [LLVMdev] approaches to profiling jitted code?

Displaying 20 results from an estimated 20000 matches similar to: "[LLVMdev] approaches to profiling jitted code?"

2013 Mar 04
0
[LLVMdev] Profiling LLVM JIT code
Hi Priyendra, There is support for oprofile and Intel(r) VTune(tm) Performance Analyzer, but either one needs to be explicitly turned on during the build process. If you use MCJIT (as opposed to the older JIT) then oprofile support isn't in place yet. Both of these work by providing a JITEventListener that receives notification when new code is emitted and hooks it up to the profiling tool
2013 Mar 05
1
[LLVMdev] Profiling LLVM JIT code
Thanks for the info. I am using old JIT. So that should not be a problem. I will take a look at using oprofile. I have never used it - so will be somewhat of a learning curve. I notice that the configure script has a --with-oprofile option. In addition to enabling that, is there something else that also needs to be done? My copy of LLVM is compiled with --enable-optimized. Will --with-oprofile
2006 Jun 08
1
[LLVMdev] Profiling dynamically loaded libraries
Hi, Standard approach to profiling dynamically loaded libraries with gprof doesn't seem to work with LLVM: export LD_PROFILE=Mylib.so export LD_PROFILE_OUTPUT=. make ENABLE_PROFILING=1 // compiling my project opt -load Profile/Mylib.so -options... but no Mylib.so.profile (or gmon.out) is produced. Profiling libc.so.6 usage by "ls -l", however, works fine. Could anyone explain
2005 Feb 16
0
Profiling R code and C code (Rprof and gprof)
Hi, I have searched R mail list archive and couldn't find my answers. The R extension describes how to make use of Rprof to profile R code. gprof can be also used for the same purpose for the C codes when the C codes are written independently and provided with a main() function. I'm currently writing R codes meshed with C Codes, and use .Call as the interface between the two parts.
2007 Sep 25
2
[LLVMdev] Profiling llc
Hey guys, I am trying to speed up some of my LLVM/llc passes. Is there a way to use something like gprof on llc? If not, do you guys know anything that I can use to discover which routines of my passes are taking most of the time? thanks, Fernando
2003 Nov 01
0
[LLVMdev] Cute profiling toy for LLVM
Because I've been doing a bit of performance work recently, and because using gprof with the C backend has some limitations, I wrote a little "llvm-prof" utility. Here's a synopsis of how to use it if you're interested: Basic usage: llvm/utils/profile.pl <program.bc> <program arguments> This instruments the bytecode file, executes it with the JIT
2005 Jul 27
1
[LLVMdev] Help regarding profiling information
Hi, I am trying to obtain basic block profiles for mediabench g721 benchmark. I have successfully built llvm in profile_enabling mode. Then so as to find out the block execution frequency, I ran the command, analyze encode.out-cbe. It generated gmon.out which I read using gprof. However, I did not get the basic block level execution frequency. Can anybody help me as to how I can extract the basic
2013 Jan 15
0
[LLVMdev] Dynamic Profiling - Instrumentation basic query
Hi Silky, On 14/01/13 01:47, Silky Arora wrote: > I need to profile the code for branches (branch mis predicts > simulation), load/store instructions (for cache hits/miss rate), and a > couple of other things and therefore, would need to instrument the code. > However, I would like to know if writing the output to a file would > increase the execution time, or is it the profiling
2013 Mar 03
2
[LLVMdev] Profiling LLVM JIT code
Hey guys, I am currently working on a project that uses JIT compilation to compile incoming user requests to native code. Are there some best practises related to profiling the generated code? My project uses gperftools pprof for profiling etc. Is there a way to hook the two up? Are there any other profiling method that works? This page describes how to debug JIT code with GDB. I wonder if
2004 Aug 06
0
XScale realtime encoding possible?
MAL wrote: > > I don't know how to profile code (yet), but i'm about to go find out. > > Is it possible to profile the code on my x86 workstation, or does it > absolutely have to be run on the machine? ARM emulator anyone? :) <p>Intel designed performance monitoring hardware into the XScale. They also have a profiling tool called VTune that consists of some
2011 May 24
0
How to resolve Centos Linux Version 5.5 x86_32 C​allgrind Version 3.6.1 cg_annotat​​​e : Line 1 Missing command line error?
Good afternoon, We are running callgrind and cg_annotate version 3.6.1 on Centos Linux Version 5.5 x86_32. One month ago Mr. Josef Weidenorfer issued a special patch that fixed callgrind on Centos Linux Version 5.5 x86_32. We can now profile complex C++ programs which use our own shared library libmdMatchup.so. However, when we use version 3.6.1 cg_annotate callgrind.out.22533 --auto = yes
2011 Apr 22
1
Valgrind/Callgrind 3.6.1 does not appear to work on Centos Linux 5.5
Hi, For the last day or two I having been trying to get Valgrind/Callgrind 3.6.1 to work on Centos Linux 5.5 using a simple Fibonacci C++ program(shown below). After compiling the program using g++ -g -o MatchUpAccurate MatchUpAccurate.cpp, we run: /home/frankc/DQTTest/valgrind-3.6.1/coregrind/valgrind --tool=callgrind --dump-instr=yes --simulate-cache=yes --collect-jumps=yes
2007 Mar 14
0
Profiling wine applications
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dear list, I ported an application using winemaker. How can I profile it using gprof? Greetings, Jan Schiefer! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF983cBeV4zveQbKURAnTjAJ9oOECs3kqvU+tWeojyQlYY5DzIygCfYqrZ iTZAg8mmanfYzU88l3/SyfU= =oZFE -----END PGP
2005 Jul 27
0
[LLVMdev] Regarding profiling with llvm
Hi, I am a new user to llvm. I have a small question. I am trying to obtain basic block execution frequency for LLVM blocks for mediabench g721 benchmark. I have generated control flow graphs, and instruction mix of the same. however, to obtain runtime profile information, I tried the following. build llvm in PROFILE_ENABLE mode reconfigure path for all the files. run makefile for benchmark
2009 Sep 30
30
About profiling xen
Hi there, I am getting very low throughput (around 0.29Mbps) while running netperf benchmark for guest to guest communication on a single physical host. To analyse where the time is spent in hypervisor I wanna use profiling. Please help me choosing good profiler according to my requirments. Should it be better in my case, Xentrace, gprof, xenoprof  or Oprofile. Is it possible to use some vtune
2009 Sep 30
30
About profiling xen
Hi there, I am getting very low throughput (around 0.29Mbps) while running netperf benchmark for guest to guest communication on a single physical host. To analyse where the time is spent in hypervisor I wanna use profiling. Please help me choosing good profiler according to my requirments. Should it be better in my case, Xentrace, gprof, xenoprof  or Oprofile. Is it possible to use some vtune
2018 Jul 19
2
profiling JIT compiled code with perf
Have you seen https://reviews.llvm.org/D44892? we are using it in Julia to use perf on jitted code. -Valentin On Wed, 18 Jul 2018 at 17:13 Frank Tetzel via llvm-dev < llvm-dev at lists.llvm.org> wrote: > > Hello, > > > > is there any support in LLVM for the jitdump format [1] of perf? > > > > It enables perf report to also "zoom in" and annotate the
2009 Jun 26
3
beginner's guide to C++ programming with R packages?
Hello, again. I'm interested to learn how programmers develop & test C/C++ code with R packages in Linux. I've been reading R source and the manual on Writing R Extensions but there are just a couple of details I can't understand. I wish I could watch over a developer's shoulder to see how people actually do this. I've tested a bit. I am able to take package.tar.gz
2003 Feb 28
1
gprof / prof of shared library
I have inherited a legacy S-plus system with about 10,000 lines of S and 10,000 lines of Fortran. It's now running under R. However, I would like to profile the fortran code with gprof or prof for performance tuning. I've successfully linked the .so file into a simple C driver program and profiled, but I can't seem to get profiling to work when using dyn.load() to use it from R. Do
2010 Jul 07
3
[LLVMdev] simple way to print disassembly of final code from jit?
Thanks Reid - I'm on Windows. I guess I just assumed I was missing something obvious in how to hook up the JIT and disassembler! Given the nice looking disassembly code I found, I thought people would be doing it all the time :-) b. On Tue, Jul 6, 2010 at 8:41 PM, Reid Kleckner <reid.kleckner at gmail.com> wrote: > If you're on a recent flavor of Linux, you may be able to just