Searched refs:CHUNKS (Results 1 – 3 of 3) sorted by relevance
51 #define CHUNKS 60 macro115 off_t off = random() % ((CHUNKS - 2) * CHUNK_SZ); in nowait_reader()162 for (j = 0; j < CHUNKS; j++) { in writer_thread()256 for (j = 0; j < CHUNKS; j++) { in setup()
112 [ -g HTMLFILE] [ -i NUM_PROCS ] [ -l LOGFILE ] [ -m NUM_PROCS,CHUNKS,BYTES,HANGUP_FLAG ]140 -m NUM_PROCS,CHUNKS,BYTES,HANGUP_FLAG143 … [CHUNKS = malloc these many chunks (default is 1 when value 0 or undefined)]144 … [BYTES = malloc CHUNKS of BYTES bytes (default is 256MB when value 0 or undefined) ]358 m) NUM_PROCS=1; CHUNKS=1; BYTES=$((256 * 1024 * 1024)); HANGUP_FLAG=0365 2) CHUNKS="$ARGUMENT" ;;375 if [ "$CHUNKS" -eq 0 ]; then376 CHUNKS=1387 $CHUNKS --vm-bytes $BYTES --vm-hang >/dev/null 2>&1 &391 $CHUNKS --vm-bytes $BYTES >/dev/null 2>&1 &
589 template<int CHUNKS>595 int Offsets[CHUNKS];596 int Sizes[CHUNKS];599 …inline void Reserve(int n, size_t sz, int a=4) { IM_ASSERT(n == CurrIdx && n < CHUNKS); CurrOff =…602 …* GetSpanPtrBegin(int n) { IM_ASSERT(n >= 0 && n < CHUNKS && CurrIdx == CHUNKS); retur… in GetSpanPtrBegin()603 …* GetSpanPtrEnd(int n) { IM_ASSERT(n >= 0 && n < CHUNKS && CurrIdx == CHUNKS); retur… in GetSpanPtrEnd()