Lines Matching refs:estimate
913 static void setpause (global_State *g, l_mem estimate) {
915 estimate = estimate / PAUSEADJ; /* adjust 'estimate' */
916 threshold = (g->gcpause < MAX_LMEM / estimate) /* overflow? */
917 ? estimate * g->gcpause /* no overflow */
1036 return work; /* estimate of memory marked by 'atomic' */
1063 g->GCestimate += work; /* estimate of total memory traversed */
1125 lu_mem estimate = g->GCestimate;
1128 if (gettotalbytes(g) > (estimate / 100) * g->gcmajorinc)
1131 g->GCestimate = estimate; /* keep estimate from last major coll. */