Searched refs:nice (Results 1 - 25 of 38) sorted by relevance

12

/freebsd-12-stable/lib/libc/gen/
H A Dnice.c33 __SCCSID("@(#)nice.c 8.1 (Berkeley) 6/4/93");
43 * Backwards compatible nice.
46 nice(int incr) function
/freebsd-12-stable/contrib/netbsd-tests/lib/libc/gen/
H A Dt_nice.c58 atf_tc_fail("nice(3) value was not propagated to threads");
67 "Test nice(3) for invalid parameters (PR lib/42587)");
84 ATF_REQUIRE_ERRNO(EPERM, nice(i) == -1);
91 atf_tc_set_md_var(tc, "descr", "Test nice(3) vs. getpriority(2)");
106 nic = nice(i);
115 atf_tc_fail("nice(3) and getpriority(2) conflict");
119 * Also verify that the nice(3) values
148 atf_tc_fail("nice(3) value was not inherited");
155 atf_tc_set_md_var(tc, "descr", "Test that nice(3) works");
165 ATF_REQUIRE(nice(
[all...]
/freebsd-12-stable/contrib/googletest/googlemock/test/
H A Dgmock-nice-strict_test.cc31 #include "gmock/gmock-generated-nice-strict.h"
187 // Tests that a nice mock generates no warning for uninteresting calls.
197 // Tests that a nice mock generates no warning for uninteresting calls
210 // Tests that a nice mock generates informational logs for
227 // Tests that a nice mock allows expected calls.
235 // Tests that an unexpected call on a nice mock which returns a
252 // Tests that an unexpected call on a nice mock fails.
306 NiceMock< ::Mock> nice; local
307 EXPECT_CALL(nice, DoThis());
308 nice
[all...]
/freebsd-12-stable/contrib/tcsh/
H A Dtc.decls.h204 # undef nice macro
205 # define nice(a) xnice(a) macro
H A Dtc.os.h53 # define nice(a) setprio((getpid()),a) macro
H A Dsh.time.c161 (void) nice(nval);
/freebsd-12-stable/sys/sys/
H A Dsched.h88 void sched_nice(struct proc *p, int nice);
/freebsd-12-stable/contrib/bmake/mk/
H A Ddep.mk12 # it would be nice to be able to query .SUFFIXES
H A Dmeta.autodep.mk26 # it would be nice to be able to query .SUFFIXES
165 # it would be nice to be able to get .SUFFIXES as ${.SUFFIXES}
H A Dgendirdeps.mk278 # It would be nice do peform this check for all of DIRDEPS,
/freebsd-12-stable/cddl/contrib/opensolaris/cmd/zdb/
H A Dzdb.c1560 char nice[32]; local
1563 CTASSERT(sizeof (nice) >= NN_NUMBUF_SZ);
1580 zdb_nicenum(dd->dd_used_bytes, nice, sizeof (nice));
1581 (void) printf("\t\tused_bytes = %s\n", nice);
1582 zdb_nicenum(dd->dd_compressed_bytes, nice, sizeof (nice));
1583 (void) printf("\t\tcompressed_bytes = %s\n", nice);
1584 zdb_nicenum(dd->dd_uncompressed_bytes, nice, sizeof (nice));
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Support/Unix/
H A DProcess.inc345 // would be nice to avoid a dependency on curses proper when we can make do
/freebsd-12-stable/contrib/ntp/adjtimed/
H A Dadjtimed.c212 if (nice(-10) == -1) {
213 msyslog(LOG_ERR, "nice: %m");
214 perror("adjtimed: nice");
/freebsd-12-stable/contrib/tcp_wrappers/
H A Doptions.c88 static void nice_option(); /* execute "nice" option */
125 "nice", nice_option, OPT_ARG,
355 /* nice_option - set nice value */
367 tcpd_jump("bad nice value: \"%s\"", value);
368 if (dry_run == 0 && nice(niceval) < 0)
369 tcpd_warn("nice(%d): %m", niceval);
/freebsd-12-stable/sys/contrib/vchiq/interface/compat/
H A Dvchi_bsd.c511 set_user_nice(VCHIQ_THREAD_T thr, int nice) argument
H A Dvchi_bsd.h398 void set_user_nice(VCHIQ_THREAD_T p, int nice);
/freebsd-12-stable/include/
H A Dunistd.h456 int nice(int);
/freebsd-12-stable/share/mk/
H A Dmeta.autodep.mk28 # it would be nice to be able to query .SUFFIXES
167 # it would be nice to be able to get .SUFFIXES as ${.SUFFIXES}
H A Dbsd.cpu.mk358 # not a nice optimization.
/freebsd-12-stable/usr.bin/ctlstat/
H A Dctlstat.c85 uint64_t nice; member in struct:ctl_cpu_stats
223 cpu_stats->nice = cp_time[CP_NICE];
402 ctx->cur_cpu.nice + ctx->cur_cpu.system +
/freebsd-12-stable/crypto/heimdal/appl/login/
H A Dlogin.c431 nice(udb->ue_nice[UDBRC_INTER]);
/freebsd-12-stable/libexec/atrun/
H A Datrun.c308 nice(tolower(queue) - 'a');
/freebsd-12-stable/sys/kern/
H A Dsched_ule.c124 * ranges supporting nice values.
157 * or positive nice respectively.
160 * PRI_NRESV: Number of nice values.
162 * PRI_NICE: Determines the part of the priority inherited from nice.
172 #define SCHED_PRI_NICE(nice) (nice)
1585 * priorities. These threads are not subject to nice restrictions.
1589 * utilization and the rest is decided by nice value.
1591 * The nice value of the process has a linear effect on the calculated
1592 * score. Negative nice value
2173 sched_nice(struct proc *p, int nice) argument
[all...]
H A Dsched_4bsd.c85 #define NICE_WEIGHT 1 /* Priorities per nice level. */
795 sched_nice(struct proc *p, int nice) argument
800 p->p_nice = nice;
/freebsd-12-stable/usr.sbin/apmd/
H A Dapmd.c670 nice(NICE_INCR);

Completed in 310 milliseconds

12