Displaying 20 results from an estimated 4000 matches similar to: "[LLVMdev] How to measure the overhead of instrumented code"
2013 Feb 25
0
[LLVMdev] How to measure the overhead of instrumented code
On 2/24/13 10:07 AM, Lu Mitnick wrote:
> Hello all,
>
> I have developed a instrumented pass which insert some variables
> between the original variables,
> as well as insert some code into the original source code. just like:
>
> ============= original source code =============
>
> int a[10];
>
> void fun1 () {
> // some source code here
> }
>
>
2011 Jan 11
5
A question on dummy variable
Dear all, I would like to ask one question related to statistics, for
specifically on defining dummy variables. As of now, I have come across 3
different kind of dummy variables (assuming I am working with Seasonal
dummy, and number of season is 4):
> dummy1 <- diag(4)
> for(i in 1:3) dummy1 <- rbind(dummy1, diag(4))
> dummy1 <- dummy1[,-4]
>
> dummy2 <- dummy1
>
2013 Mar 21
4
easy way of paste
Hello,
Is there a better way to use paste such as:
a = paste(colnames(list.indep)[1],colnames(list.indep)[2],colnames(list.indep)[3],colnames(list.indep)[4],colnames(list.indep)[5],sep="+")
> a
[1] "aa+dummy1+dummy2+bb+cc"
I tried
a = paste(colnames(list.indep)[1:5],sep="+")
> a
[1] "aa" "dummy1" "dummy2"
2013 Mar 21
2
How to store data frames into pdf file and csv file.
Hello,
I have a data frame
> mdl.summary
est.coef std.err t.stat
intercept 0.0011625517 0.0002671437 4.351784
aa -0.0813727439 0.0163727943 -4.969997
dummy1 -0.0002534873 0.0001204000 -2.105376
dummy2 -0.0007784864 0.0001437537 -5.415417
bb -0.0002856727
2001 Mar 13
1
.C-calls
Dear all,
(sorry I got the wrong button for subscribing a minute ago)
At the moment I'm writing on a package for random field
simulation that I'd like to make publically availabe
in near future.
To this end I've asked Martin Maechler to have a look
at my R-code. He was very surprised about how
I perform the ".C"-calls, and encouraged me to
make this request for comments.
2015 May 27
2
dummy interface shenanigans - CentOS6
tl;dr - a renamed dummy interface is not persisting across reboots on Cent6.
I have a situation where I need to rename a dummy interface on my system.
I have a total of 3 dummy interfaces:
dummy0
dummy1
adummy0
I've been doing some puppet testing in a vbox VM to get this all
sorted out to deploy to a group of boxes. Every time I reboot my VM,
it comes up WITHOUT adummy0, but I notice
2015 Jun 17
1
Re: [PATCH v4 1/3] do_btrfs_qgroup_show: fix a bad return value
On Wednesday 17 June 2015 16:19:31 Chen Hanxiao wrote:
> We should not use tmp lines buffer as return value,
> for lines buffer will be freed.
s/tmp/temporary/
> Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
> ---
> v4: take advantage of sscanf's '%m'.
> v3: fix test case failure
>
> daemon/btrfs.c | 40
2002 Jul 02
1
Strange behaviour in plot and points?
Hello R-users
I was puzzled by some strange results of an analysis and I found out what is
for me a strange behaviour (I won't dare to say a bug) in both plot and
points (and I suspect lines and other kind of lower level plots). If you try
the following code:
> data<-data.frame(dummy1=c(1:10),dummy2=c(1:10))
> plot(data$dummy1,data$dummy3)
A plot of the values of dummy1 against
2015 May 27
1
dummy interface shenanigans - CentOS6
Frank Even wrote:
> On Wed, May 27, 2015 at 1:37 AM, Frank Even
> <lists+centos.org at elitists.org> wrote:
>> tl;dr - a renamed dummy interface is not persisting across reboots on
>> Cent6.
>>
>> I have a situation where I need to rename a dummy interface on my
>> system.
>>
>> I have a total of 3 dummy interfaces:
>>
>> dummy0
2005 May 01
0
dll symbol loading: possible bug
Dear R-devel,
I think the following describes a bug in R. It seems to be associated with
dyn.load() and/or something that happens at start-up. I have not filed a
bug report yet (because I doubt my ability to rule out other explanations)
but would happily do so if requested.
Observation:
If two dlls are loaded as a result of dyn.load() calls in .Rprofile,
subsequent calls to dyn.load()
2015 Jun 23
1
[PATCH] btrfs: remove redundant whitespace
s/ =/ =
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
---
daemon/btrfs.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/daemon/btrfs.c b/daemon/btrfs.c
index 8b5779a..306cade 100644
--- a/daemon/btrfs.c
+++ b/daemon/btrfs.c
@@ -512,7 +512,7 @@ do_btrfs_subvolume_list (const mountable_t *fs)
goto error;
}
- struct
2013 Jun 07
4
matched samples, dataframe, panel data
I R-helpers
#I have a data panel of thousands of firms, by year and industry and
#one dummy variable that separates the firms in two categories: 1 if the firm have an auditor; 0 if not
#and another variable the represents the firm dimension (total assets in thousand of euros)
#I need to create two separated samples with the same number os firms where
#one firm in the first have a corresponding
2014 Jan 23
2
Shutdown when both (all) UPS on battery / low battery
On Jan 21, 2014, at 9:24 AM, Rafal Oleszek wrote:
> I tried all options:
> 1,2
> and in MINSUPPLIES: 1,2,3,4
> still didn't work.
My mistake - I gave you the wrong advice before. For MINSUPPLIES, I'm used to either a 1:1 UPS-to-server ratio, or 2:1 where the server can run with either power supply unpowered.
I just tried this in upsmon.conf:
MONITOR dummy1 1 monuser
2009 Dec 14
4
[LLVMdev] inttoptr weirdness
Hi again.
I have a complex type system in my custom language that isn't easily
representable as LLVM IR types, so I figured I could mostly get along
with treating my types as i8* and doing the appropriate bitcasts and
inttoptr instructions, and doing pointer arithmetic myself (by casting
the pointers to ints, adding the appropriate byte offsets, and then
casting back to pointers).
However,
2015 Jun 17
6
[PATCH v4 0/3] btrfs: use CLEANUP_FREE_STRING_LIST for list free
As Pino's comment, we should take advantage of
macro CLEANUP_FREE_STRING_LIST
v4: remove some redundant strdup
v3: fix test case failure
v2: properly initialize lines
Chen Hanxiao (3):
do_btrfs_qgroup_show: fix a bad return value
do_btrfs_subvolume_list: fix a bad return value
btrfs: use CLEANUP_FREE_STRING_LIST for list free
daemon/btrfs.c | 70
2005 Jul 19
3
Predict
When I callculate a linear model, then I can compute via confint the
confidencial intervals. the interval level can be chosen. as result, I get
the parameter of the model according to the interval level.
On the other hand, I can compute the prediction-values for my model as well
with predict(object, type=c("response") etc.). Here I have also the
possibility to chose a level for the
2015 Jun 17
0
[PATCH v4 1/3] do_btrfs_qgroup_show: fix a bad return value
We should not use tmp lines buffer as return value,
for lines buffer will be freed.
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
---
v4: take advantage of sscanf's '%m'.
v3: fix test case failure
daemon/btrfs.c | 40 ++++++++++++++++++----------------------
1 file changed, 18 insertions(+), 22 deletions(-)
diff --git a/daemon/btrfs.c b/daemon/btrfs.c
index
2015 Jun 18
2
[PATCH v5 1/2] do_btrfs_qgroup_show: fix a bad return value
We should not use temporary lines buffer as return value,
for lines buffer will be freed.
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
---
v5: modify according to Pino's comments
v4: take advantage of sscanf's '%m'.
v3: fix test case failure
daemon/btrfs.c | 34 ++++++++++++++--------------------
1 file changed, 14 insertions(+), 20 deletions(-)
diff --git
2013 Mar 22
0
predict.Arima error "'xreg' and 'newxreg' have different numbers of columns"
Hello all,
I use arima to fit the model with
fit <- arima(y, order = c(1,0,1), xreg = list.indep, include.mean = TRUE)
and would like to use predict() to forecast:
chn.forecast <- rep(0,times=num.record)
chn.forecast[1] <- y[1]
for (j in 2:num.record){
indep <- c(aa=chn.forecast[j-1], list.indep[j,2:num.indep]) # this is the newxreg in the
2014 Dec 05
0
[PATCH 09/11] New API: btrfs_qgroup_show
btrfs_qgroup_show shows all qgroups on a btrfs filesystem.
Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
---
daemon/btrfs.c | 88 ++++++++++++++++++++++++++++++++
generator/actions.ml | 10 ++++
generator/structs.ml | 10 ++++
gobject/Makefile.inc | 2 +
java/Makefile.inc | 1 +