search for: exectime

Displaying 5 results from an estimated 5 matches for "exectime".

Did you mean: exec_time
2011 Jul 19
1
Measuring and comparing .C and .Call overhead
...d("mvMultiply.so") -------------------------------- #code file: myMultiply.cc #include <Rinternals.h> #include <R.h> #include &lt;sys/time.h&gt; extern "C" { SEXP matvecMultiply(SEXP A, SEXP x) { timeval time1, time2; gettimeofday(&time1, NULL); SEXP execTime_sxp; PROTECT(execTime_sxp = allocVector(REALSXP, 1)); double *execTime; execTime = REAL(execTime_sxp); double *rA = REAL(A), *rx = REAL(x), *ry; int n = length(x); int m = length(A) / n; SEXP y; PROTECT(y = allocVector(REALSXP, m)); ry = REAL(y); for (int i = 0; i < m; i++) { ry[i] =...
2009 Sep 17
5
"this" variables being overridden?
...= (ProfData*)copyin(arg2, sizeof(ProfData)); } /* various of other foo:entry clauses with various predicates. * None of them is doing a copyin operation. */ [snip] pid$target::foo:entry /disabled[0]==0 && arg1 != 0/ { this->ablock = arg0; this->time = this->dataP->execTime; this->ltime = this->dataP->logTxExecTime; this->wtime = this->dataP->confWaitTime; this->trials = this->dataP->counters[NumRetries]; this->confsWonWR = this->dataP->counters[NumWonWRConf] ? 1:0; this->confsWonWRUp = this->dataP->counters[Nu...
2013 Jun 19
2
[PATCH] Relax size checks for integer types
I recenetly came across a Windows XP image, where one REG_QWORD value (HKLM\Software\Microsoft\Windows\CurrentVersion\Group Policy\State\Machine\Scripts\Shutdown\0\0\ExecTime) would be displayed by hivexsh but hivex_value_qword() would return -1. It turned out that the data length of this value was 16 bytes instead of 8. There is no problem in simply interpreting the first 4 (DWORD) or 8 (QWORD) bytes -- if there are enough bytes to be interpreted. --- lib/hivex.c |...
2013 Jun 21
0
Re: [PATCH] Relax size checks for integer types
On Wed, Jun 19, 2013 at 06:57:33PM +0200, Hilko Bengen wrote: > I recenetly came across a Windows XP image, where one REG_QWORD value > (HKLM\Software\Microsoft\Windows\CurrentVersion\Group Policy\State\Machine\Scripts\Shutdown\0\0\ExecTime) > would be displayed by hivexsh but hivex_value_qword() would return -1. > > It turned out that the data length of this value was 16 bytes instead > of 8. > > There is no problem in simply interpreting the first 4 (DWORD) or > 8 (QWORD) bytes -- if there are enough bytes to...
2008 Jan 21
2
Samba logoff script
Hello Is it possible to create a samba logoff script. I currently use netlogon for a logonscript. I also want a logoff scipt to allow me to back certain files up once a user logs off. Is this possible? If so how? -- REGARDS, Andy