Searched refs:cpu (Results 1 - 13 of 13) sorted by relevance
/ast/src/cmd/INIT/ |
H A D | crossexec.sh | 121 -) cpu= shu= ;; 122 *) cpu=${usr}@ shu="-l $usr" ;; 136 $exec $cp $cmd $cpu$hostname:$dir </dev/null || exit 1
|
H A D | package.sh | 230 [+cpu?The number of cpus; 1 if the host is not a 233 [+rating?The cpu rating in pseudo mips; the value is 1046 host [ canon cpu name rating type ... ] 1053 cpu The number of cpus; 1 if the host is not a 1056 rating The cpu rating in pseudo mips; the value is useful 1644 cpu|name|rating|type) 1674 cpu) case $NPROC in 1680 cpu=`grep -ic '^processor[ ][ ]*:[ ]*[0123456789]' /proc/cpuinfo` 1681 case $cpu in 1683 _hostinfo_="$_hostinfo_ $cpu" [all...] |
/ast/src/lib/libcs/ |
H A D | genlocal.sh | 165 package host name type cpu rating 168 then $rsh $host bin/package host name type cpu rating & 180 done | while read host type cpu rating 181 do $verbose type=$type cpu=$cpu rating=$rating 187 print $host" "type=$type" "${rating}${idle:+" idle=$idle"}${cpu:+" cpu=$cpu"}
|
/ast/src/cmd/coshell/ |
H A D | schedule.c | 30 #define W_CPU 80 /* additional cpu weight % */ 46 #define RNK(p,a) (((p)->mode&SHELL_DISABLE)?INT_MAX:((p)->flags&IGN)?(INT_MAX/2):((((p)->stat.load/(p)->scale)+((p)->running*BIAS+CPU((p)->cpu,(a)->bias)))*(p)->bias*(((p)==state.home&&(p)->cpu==1)?400:100)/(p)->rating)) 237 if (matched) nopen += ap->cpu; 281 if (v < sv && ap->running < (state.perhost ? state.perhost : ap->cpu * state.percpu) && (!state.maxload || (ap->stat.load / ap->scale) < state.maxload) && (!sp || bypass || IDLE(ap->stat.idle, ap->idle) || !IDLE(sp->stat.idle, sp->idle))) 295 if (!xp->running && (nopen - xp->cpu >= state.pool + noverride || state.open - xp->cpu >= state.fdtotal / 2 || xp == dp && cs.time > dt && (!xm || !mp || mp->rank < PCT(xp->rank, H_RANK)))) 378 sp->scale = sp->cpu = 1; 440 if (sp->fd) state.open += a->cpu - sp->cpu; [all...] |
H A D | service.h | 61 int cpu; /* cpu count */ \ 69 int rating; /* cpu rating */ \ 148 #define SETCPU (1<<9) /* cpu count was set */ 196 int cpu; member in struct:__anon58
|
H A D | shell.c | 124 state.open += sp->cpu; 167 state.open -= sp->cpu;
|
H A D | job.c | 172 if (state.running < (state.perserver + state.jobwait) && state.con[jp->fd].info.user.running < (state.peruser + 1) && (sp == &state.wait || sp->running < ((state.perhost ? state.perhost : sp->cpu * state.percpu) + 1)))
|
H A D | command.c | 699 if (sp->cpu != 1) 700 sfprintf(state.string, " cpu=%d", sp->cpu); 701 if (sp->scale != sp->cpu) 745 , sp->cpu 767 tot.cpu += sp->cpu; 768 tot.stat.load += sp->cpu * sp->stat.load / sp->scale; 769 tot.rating += sp->cpu * sp->rating; 772 if (tot.cpu) [all...] |
/ast/src/cmd/std/ |
H A D | pss.h | 133 int cpu; member in struct:Pssent_s
|
H A D | pss-kvm.c | 245 pe->cpu = state->pr->p_pctcpu >> FWIDTH;
|
H A D | pss-procfs.c | 344 pe->cpu = PR_CPU(pr);
|
H A D | pss-ps.c | 236 pe->cpu = number(s, &e, 10);
|
H A D | ps.c | 280 "cpu", 677 n = pp->ps->cpu; 878 n = pr->cpu;
|
Completed in 31 milliseconds