Displaying 2 results from an estimated 2 matches for "sctime".
Did you mean:
ctime
2010 Sep 16
4
Pesky homemade function code
...s==i][index[j,1]]-data$times[data$ids==i][index[j,2]])
gamma1[j]=.5*(data$resids[data$ids==i][index[j,1]]-data$resids[data$ids==i][index[j,2]])^2
}
time=c(time,time1)
gamma=c(gamma,gamma1)
}
value=list(time=time,gamma=gamma)
return(value)
}
and I would run it as
semivario(data=hope,ids=id,times=sctime,resids=scResid)
What I want to do is everywhere we see the words data,ids,times,resids to be
replaced with, for example, hope,id,sctime,scResid. Think of macros in SAS
where we use the & before every macro input variable name. Im not sure if
this is how R handles function inputs.
Here is my e...
2007 Mar 13
0
about use dtrace analyze tomcat''s situation
...n five times with careful.
because I am newbie to studing dtrace.so I still don''t know how to begin.
for question:
1. What consumes time?
2. Which system call(s) consume(s) time?
---------------------------------------------
from document dtrace_example.pdf I find follow D script
vi sctime.d
syscall:::entry
/pid == $target/
{
self->ts = timestamp;
}
syscall:::return
/self->ts/
{
ela = timestamp - self->ts;
@tot[probefunc] = sum(ela);
}
END
{
normalize(@tot, 1000);
printa("%12s %@12u\n", @tot);
}
get Tomcat''s pid :
$ ps -ef | grep tomcat...