similar to: [LLVMdev] Path profiling command

Displaying 20 results from an estimated 1000 matches similar to: "[LLVMdev] Path profiling command"

2011 May 11
0
[LLVMdev] Path profiling command
Hi All, I use llvm version 2.9. llvm-prof does not support to read path profiling info. So could I use any way else to read path profiling info? Thanks Linh ________________________________ From: Andreas Neustifter <andreas.neustifter at gmail.com> To: Andrew Trick <atrick at apple.com> Cc: Linh Ho Tran <hotranlinh at yahoo.com>; "llvmdev at cs.uiuc.edu Mailing
2011 May 10
0
[LLVMdev] Path profiling command
Hi All! I was involved in the LLVM profiling business during late 2009 and early 2010 but I was not working on the path profiling but the "regular" profiling code. So I'm only guessing in case there is not other answer. On 9 May 2011 20:19, Andrew Trick <atrick at apple.com> wrote: > > On May 9, 2011, at 3:36 AM, Linh Ho Tran wrote: > > [...] > > The error
2011 May 23
3
[LLVMdev] Need Path Profiling Format Document
Dear Members, I am working on path profiling, but command llvm-prof cannot read path profile info. Making llvm-prof to be able to read PP info is so wonderful. But I cannot find the format of PP. Could anyone give me the document of path profile info format so that I could modify llvm-prof. Thank you in advance Linh Ho -------------- next part -------------- An HTML attachment was
2009 Jul 23
0
[LLVMdev] Profiling in LLVM Patch Followup 1
Good Morning. On 22.07.09 14:47), Andreas Neustifter wrote: > Daniel Dunbar wrote: >> I merged in my changes to your patch, which results in the attached >> patch. There may be some missed merge errors. The main problem I have >> with the rest of this patch is that it causes a regression in >> llvm-prof's behavior. I tried running edge profiling on the >>
2009 Jul 23
1
[LLVMdev] Profiling in LLVM Patch Followup 1
Sorry, forgot attachment. On 23.07.09 07:40), Andreas Neustifter wrote: > Good Morning. > > On 22.07.09 14:47), Andreas Neustifter wrote: >> Daniel Dunbar wrote: >>> I merged in my changes to your patch, which results in the attached >>> patch. There may be some missed merge errors. The main problem I have >>> with the rest of this patch is that it
2009 Jul 22
4
[LLVMdev] Profiling in LLVM Patch Followup 1
Hi Daniel! Daniel Dunbar wrote: > I merged in my changes to your patch, which results in the attached > patch. There may be some missed merge errors. The main problem I have > with the rest of this patch is that it causes a regression in > llvm-prof's behavior. I tried running edge profiling on the > MultiSource/Applications/aha benchmark in the llvm test-suite, and >
2009 Aug 05
0
[LLVMdev] Profiling in LLVM Patch Followup 1
Hi Andreas, Sorry for the lag time... On Wed, Jul 22, 2009 at 5:47 AM, Andreas Neustifter<e0325716 at student.tuwien.ac.at> wrote: > Hi Daniel! > > Daniel Dunbar wrote: >> I merged in my changes to your patch, which results in the attached >> patch. There may be some missed merge errors. The main problem I have >> with the rest of this patch is that it causes a
2011 May 23
0
[LLVMdev] Need Path Profiling Format Document
Hi, Here is a link to my document on PP. On page 4, it has the format of the path profile. http://lists.cs.uiuc.edu/pipermail/llvmdev/attachments/20100823/db8abfb3/attachment-0001.pdf Cheers, Adam On 2011-05-22, at 9:31 PM, Linh Ho Tran wrote: > Dear Members, > > I am working on path profiling, but command llvm-prof cannot read path profile info. Making llvm-prof to be able to
2008 Nov 25
2
[LLVMdev] LLVM profiling
Hello, My name is Rantao Chen and i am a student at the University of Maryland. I am currently doing some research for a professor to do Basic Block profiling using LLVM. I have set up the environment correctly and built the profile_rt.so shared library, but i am having some problems using the LLVM profiling tools. I run "opt -insert-function-profiling -insert-block-profiling input.bc
2012 Jul 19
2
finding the values to minimize sum of functions
Hi fellow R users, I am desperately hoping there is an easy way to do this in R. Say I have three functions: f(x) = x^2 f(y) = 2y^2 f(z) = 3z^2 constrained such that x+y+z=c (let c=1 for simplicity). I want to find the values of x,y,z that will minimize f(x) + f(y) + f(z). I know I can use the optim function when there is only one function, but don't know how to set it up when there are
2009 Aug 05
2
[LLVMdev] Profiling in LLVM Patch Followup 1
Hi! Daniel Dunbar wrote: > > Sorry for the lag time... No problem. As long as I know that you get to it sometime its fine for me... > On Wed, Jul 22, 2009 at 5:47 AM, Andreas > Neustifter<e0325716 at student.tuwien.ac.at> wrote: >> Hi Daniel! >> >> Daniel Dunbar wrote: >>> I merged in my changes to your patch, which results in the attached
2008 Nov 26
0
[LLVMdev] LLVM profiling
Hi Rantao, perhaps you should use $llvmpath/utils/profile.pl for profiling? It works well. If you don't want to use it, there is at least some code in the script that should help you. BTW: I'm not sure if it is possible to instrument the bitcode with function and basic block code at the same time. But it should work sequential (data in llvmprof.out are accumulated after each run
2011 Mar 05
3
subsetting data by specified observation number
Hi members, I'd like to thank you guys ahead of time for the help. I'm kind of stuck. I have a data frame with ID and position numbers: 1> head(failed.3) id position 1 10000997 2 4 1000RW_M 2 15 1006RW_G 2 24 1012RW_M 3 28 10160917 2 30 1016RW_M 13 I'd like to use this to subset out a large dataset and keep only the observation
2007 Nov 28
3
overriding rest show route but not delete
hi, lets say routes.rb has map.resources :foo and I want the show action to have a diffent url, so I add (after the above line) map.foo ''/bar/:id'', :controller => ''foo'', :action => ''show'' this works fine, including foo_path( :id => "1") => /bar/1 and <%= link_to ''Show'', foo %>
2012 Sep 10
1
[LLVMdev] Profiling - execution count of basic blocks...
Hi gang, time for my weekly confusion... (I'm trying not to bombard the board with questions) The thing that's on my mind at the moment (there's some backend-stuff that I'm just working my way though) is that I'm not getting very far when trying to get LLVM to profile code - I'm looking for nothing more special than list of how many times each basic block has been called
2010 Feb 26
1
[LLVMdev] Using Profile Information
I have not made a separate pass. I have done it in single pass ie added ProfileLoaderPass , got information in PI and now I am planning to perform the analysis here itself. I was trying to print information using ProfileInfoPrinter pass but was unable to do it. namespace { class MyAna : public ModulePass { ProfileInfo *PI; public: static char ID; // Class identification, replacement
2010 Feb 25
3
[LLVMdev] Using Profile Information
Hi, How can I use profile information into my pass for performing some analysis. I tried something like: PassManager PassMgr = PassManager(); cl::opt<std::string> ProfileDataFile(cl::Positional, cl::desc("<llvmprof.out file>"), cl::Optional, cl::init("llvmprof.out")); PassMgr.add(createProfileLoaderPass(ProfileDataFile));
2006 Nov 01
2
[LLVMdev] dump profiling data
Hi, sorry but I can't found where the profiling data (llvmprof.out[?]) is generated. Perhaps soembody has a hint for me? Thank you very much Nico
2012 May 22
1
[LLVMdev] unable to decode llvmpro.out for path profiling
Hi, I am using Path Profiling to path profile a C code. I'm using this commands: $ llvm-gcc -c -emit-llvm file.c -o file.bc $ opt --insert-hotpath-profiling file.bc -o file.ins.bc $ llc -march=x86 file.ins.bc -o file.ins.s $ gcc -I llvm2.9/runtime/PathProfling.c -I llvm2.9/runtime/CommonProfiling.c $ ./a.out This will give me path profile of of program in 'llvmpro.out' to decode
2013 Jan 13
4
[LLVMdev] Dynamic Profiling - Instrumentation basic query
Hi, I am new to LLVM, and would like to write a dynamic profiler, say which prints out the load address of all the load instructions encountered in a program. >From what I could pick up, edge-profiler.cpp increments a counter dynamically which is somehow dumped onto llvmprof.out by profile.pl Could anyone explain me how this works? Can I instrument the code to dump out the load addresses or