search for: 1000000l

Displaying 5 results from an estimated 5 matches for "1000000l".

2003 Mar 17
3
nanosleep() replacement
...it); + if (rc) { + gettimeofday (&ttmp, NULL); + ttmp.tv_sec -= tsave.tv_sec; + ttmp.tv_usec -= tsave.tv_usec; + tsave.tv_sec = (time2wait.tv_sec - ttmp.tv_sec); + tsave.tv_usec = (time2wait.tv_usec - ttmp.tv_usec); + if(tsave.tv_sec < 0){ + tsave.tv_sec = 0; + tsave.tv_usec += 1000000L; + } + rc = -1; + } + + TIMEVAL_TO_TIMESPEC(&tsave, rem) + + return(rc); +} + +#endif + --- openssh/openbsd-compat/bsd-misc.h.old 2002-06-20 20:35:30.000000000 -0700 +++ openssh/openbsd-compat/bsd-misc.h 2003-03-16 15:32:29.850560003 -0800 @@ -80,5 +80,14 @@ int setgroups(size_t size, const...
1997 Nov 27
2
R-beta: Memory Management in R-0.50-a4
...main/memory.c). Cutting down the file to around 15000 lines allows read.table() to work OK. I edited the memory limits in Platform.h and re-compiled and now read.table() can manage up to around 125000 lines. #define R_VSIZE 30000000L /* 15 times original figure (Defn.h) */ #define R_NSIZE 1000000L /* 5 times original figure (Defn.h) */ #define R_PPSSIZE 100000L /* 10 times original figure (Defn.h) */ Clearly I can keep upping these values until it works, but has the side-effect of making the running R binary pretty big. What can I do? Is the answer a better memory management sy...
2011 Sep 14
2
External pointers and an apparent memory leak
I'm using external pointers and seemingly leaking memory. My determination of a memory leak is that the R process continually creeps up in memory as seen by top while the usage as reported by gc() stays flat. I have isolated the C code: void h5R_allocate_finalizer(SEXP eptr) { Rprintf("Calling the finalizer\n"); void* vector = R_ExternalPtrAddr(eptr); free(vector);
2007 Apr 18
43
[RFC PATCH 00/35] Xen i386 paravirtualization support
Unlike full virtualization in which the virtual machine provides the same platform interface as running natively on the hardware, paravirtualization requires modification to the guest operating system to work with the platform interface provided by the hypervisor. Xen was designed with performance in mind. Calls to the hypervisor are minimized, batched if necessary, and non-critical codepaths
2007 Apr 18
43
[RFC PATCH 00/35] Xen i386 paravirtualization support
Unlike full virtualization in which the virtual machine provides the same platform interface as running natively on the hardware, paravirtualization requires modification to the guest operating system to work with the platform interface provided by the hypervisor. Xen was designed with performance in mind. Calls to the hypervisor are minimized, batched if necessary, and non-critical codepaths