Displaying 20 results from an estimated 12000 matches similar to: "[LLVMdev] Rounding error in llvm-prof output"
2013 Jan 31
0
[LLVMdev] Edge Profiling
Hello,
See answers below
On 31/01/13 00:23, César wrote:
> Hello.
>
> I'm using these commands to compile the code below in order to collect
> edge/blocks profiling:
>
> clang -emit-llvm -c sort.c -o sort.bc
> opt -insert-edge-profiling sort.bc -o sort_prof.bc
> clang sort_prof.bc -lprofile_rt -L/llvms/lib -o sort_prof
>
> then I run the program and display the
2013 Jan 30
2
[LLVMdev] Edge Profiling
Hello.
I'm using these commands to compile the code below in order to collect
edge/blocks profiling:
clang -emit-llvm -c sort.c -o sort.bc
opt -insert-edge-profiling sort.bc -o sort_prof.bc
clang sort_prof.bc -lprofile_rt -L/llvms/lib -o sort_prof
then I run the program and display the profiling information using
llvm-prof sort_prof.bc, and the result is:
2013 Jan 30
0
[LLVMdev] Path: addition of optional argument to llvm-prof
Hello there.
Why does llvm-prof by default show only the top 20 most frequently
executed basic blocks and
doesn't have an option to change that? I'm sending a patch to add a
command line optional
argument to enable the user select how many basic blocks he/she wants
in the output. At least
for me it was very useful, I'm quite sure it will be for many other people.
César.
2010 Feb 22
2
Siegel-Tukey test for equal variability (code)
Hi, I recently ran into the problem that I needed a Siegel-Tukey test for
equal variability based on ranks. Maybe there is a package that has it
implemented, but I could not find it. So I programmed an R function to do
it. The Siegel-Tukey test requires to recode the ranks so that they express
variability rather than ascending order. This is essentially what the code
further below does. After the
2016 Jul 29
0
Branch profiling in older llvm revision
Hi All,
My apologies for the long winded post in advance.
I need to obtain branch data(execution count of each block would work as
well) for my machine function pass. The catch is I am using LLVM 3.1(can't
update to later revision due to external factors) with DragonEGG and cross
compiling it with GCC 32 bit arm tool chain.
The only option I see is using "-insert-edge-profiling"
2010 Jan 25
1
Help on R-2.10.1 installation on AIX5.3
Hi all,
I met a problem with R-2.10.1 installation on AIX5.3.
The error message is as following:
make[3]: Entering directory `/rnd/homes/tmp/R-2.10.1/src/library/tools'
building package 'tools'
mkdir ../../../library/tools
make[4]: Entering directory `/rnd/homes/tmp/R-2.10.1/src/library/tools'
mkdir ../../../library/tools/R
mkdir ../../../library/tools/po
make[4]: Leaving
2007 Nov 15
1
Problem with rsync recent file logic ?
Hello,
I have 2 servers I'm synchronizing using rsync, I have a situation where I :
1. rsync from rnd-dev2 to rnd-dev1
2. change the rsynched file on rnd-dev1
3. rsync from rnd-dev2 to rnd-dev1 again
4. File gets overridden on rnd-dev1 over though it has newer change
time then file on rnd-dev2.
here is the bug(?) reproduction:
[root@rnd-dev1 test_rsync]# rsync --version
rsync version
2006 Dec 21
1
heres how to get color output in rspec_autotest with rspec 0.7.5
In case anyone else is trying to make this work, here is what I did
(Before 0.7.4 I had patched the regex in zentest redgreen, but that
is not used any more)
To use directly, it is very simple. In rspec_autotest/lib/
rspec_autotest.rb, add a -c to the spec_command in the initializer
function:
@spec_command = "spec -c --diff unified"
This won''t help however if you want
2011 May 09
4
[LLVMdev] Path profiling command
Hi members,
I am a LLVM newbee. I am working in path profiling. I got an error message when
reading the path profile data
I made a sample source named foo.c
The command chain to make llvm path profiling as follows:
1. Compile to LLVM Bitcode
llvm-gcc –emit-llvm foo.c –c –o foo.bc
2. Insert Path Instruments
opt –insert-path-profiling foo.bc –o foo_path.bc
3. Link with profile
2010 Jan 10
0
ordering of additional columns in forest plot in meta package
Hi,
I am trying to add additional columns to a forest plot using the meta package.
The study information and subgroup analysis plotting is handled properly.
For this output the data is ordered first by subgroup label
(rnd.subgroup1 in the example) and second decreasing size of totals
('n' in the example).
The proper ordering of this data is confirmed by the color coding
(black and red in
2012 Apr 27
2
get plot axis rounding method
Hello,
Does anyone know how to get the rounding method used for the axis tick
numbers/values in plot()?
I'm using mtext() to plot the values used to plot vertical and horizontal
lines (using abline()) and I'd like these vertical and horizontal line
values to be rounded like the axis tick values are rounded.
In other words, I want numbers plotted with mtext() to be rounded in the
same
2006 Apr 11
3
problems with rounding in output
Perhaps someone will have a solution to my more general problem, but
here is the specific one:
I used the round() function to round some estimates to 3 decimal
places. I then sent put the rounded estimates in a matrix and used
latex() to make a LaTeX table from them. However, in my table, there
are estimtes which only have 2 decimal places. I assume that the third
decimal place in these numbers
2006 Jun 10
3
sparse matrix, rnorm, malloc
Hi,
I'm Sorry for any cross-posting. I've reviewed the archives and could
not find an exact answer to my question below.
I'm trying to generate very large sparse matrices (< 1% non-zero
entries per row). I have a sparse matrix function below which works
well until the row/col count exceeds 10,000. This is being run on a
machine with 32G memory:
sparse_matrix <-
2011 May 30
0
2D random walk with traps convert C++ code to R code
Hello, I have a C++ code for 2D random walks with traps and I want to convert it in a R code with its syntaxs, can anyone help???????
It's easy for me to adapt the body but I want help with the beginig (variable declaration) and th end exporting the output to a file ( like write.table() or sink() )
Thank you...
#include <iostream>
#include <math.h>#include
2010 Jul 09
2
C module causing rounding errors?
Hi all!
I am currently writing a C-module for a for loop in which I permute columns
in a matrix (bootstrapping) and I send a couple of variables into C
initially. All of it is working, except the initial values I send to R are
rounded/truncated (I believe rounded).
I am using a 32 bit machine to compile, I am using (I believe) 32 bit R....
While debugging I print the values I am sending to C,
2007 Nov 01
1
Problem with compiling 64bit R(2.5.1) under HP-UX(ia64)
Hi there,
We are trying to compile a 64bit version of R (2.5.1) on HP-UX
(B.11.23 U ia64), but are running into some problems.
This is our configure step:
../configure --prefix=/rnd/homes/lfan/R251 --enable-R-shlib CC="cc"
CFLAGS="+z +DD64" CXX="aCC" CXXFLAGS="-b -lxnet +z +DD64" FC="f90"
FCFLAGS="+DD64" F77="f90"
2005 Jan 06
5
How to avoid rounding of matrix elements?
Hi all R-users,
If I have a matrix with numeric elements as follows, the values are
rounded when I try to refer to a specifici element using [], the value
is rounded.
The same thing happens if the matrix is read from a file, the values are
stored to the correct precision but then when I try to refer to a
specific element (such as using [], it is rounded.
How do I avoid this rounding?
2023 Aug 04
1
[libnbd PATCH] golang: Optionally use gofmt on generated .go files
Combine my recent work on improving the generated Go output with
Tage's work on using a canonical formatter for Rust. If gofmt is
available during the build, then the generated .go files will now use
TAB indents and have proper columnar alignment; if it is not
available, the project still compiles.
Signed-off-by: Eric Blake <eblake at redhat.com>
---
Followup to this earlier series:
2016 Aug 23
0
summary.default rounding on numeric seems inconsistent with other R behaviors
>>>>> Dirk Eddelbuettel <edd at debian.org>
>>>>> on Fri, 19 Aug 2016 11:40:05 -0500 writes:
> It is the old story of defined behaviour and expected outcomes. Hard to
> change now.
yes... not impossible though... see below
> So I would suggest you do something like this in your ~/.Rprofile:
R> smry <- function(...)
2008 Jan 04
1
patch for html display
All,
I''ve found that the html view for the rspec formatter falls to pieces with
Rails 2.02 and rspec 1.10. Has anyone else run into this trouble?
Here''s a monkey patch that fixes the problem. A more elegant fix would be
in order, but this gets the job done:
Index:
/Users/timcharper/www/exchange/vendor/plugins/rspec/lib/spec/runner/formatter/text_mate_formatter.rb