Home
last modified time | relevance | path

Searched refs:HZ (Results 1 – 25 of 2043) sorted by relevance

12345678910>>...82

/openbmc/linux/include/linux/
H A Djiffies.h23 #if HZ >= 12 && HZ < 24
25 #elif HZ >= 24 && HZ < 48
27 #elif HZ >= 48 && HZ < 96
29 #elif HZ >= 96 && HZ < 192
31 #elif HZ >= 192 && HZ < 384
33 #elif HZ >= 384 && HZ < 768
35 #elif HZ >= 768 && HZ < 1536
37 #elif HZ >= 1536 && HZ < 3072
39 #elif HZ >= 3072 && HZ < 6144
41 #elif HZ >= 6144 && HZ < 12288
[all …]
/openbmc/linux/kernel/time/
H A Dtime.c379 #if HZ <= MSEC_PER_SEC && !(MSEC_PER_SEC % HZ) in jiffies_to_msecs()
381 #elif HZ > MSEC_PER_SEC && !(HZ % MSEC_PER_SEC) in jiffies_to_msecs()
382 return (j + (HZ / MSEC_PER_SEC) - 1)/(HZ / MSEC_PER_SEC); in jiffies_to_msecs()
408 #if !(USEC_PER_SEC % HZ) in jiffies_to_usecs()
665 # if HZ < USER_HZ in jiffies_to_clock_t()
684 #if (HZ % USER_HZ)==0 in clock_t_to_jiffies()
708 # if HZ < USER_HZ in jiffies_64_to_clock_t()
710 # elif HZ > USER_HZ in jiffies_64_to_clock_t()
773 #if HZ <= MSEC_PER_SEC && !(MSEC_PER_SEC % HZ) in jiffies64_to_msecs()
801 #elif (HZ % 512) == 0 in nsecs_to_jiffies64()
[all …]
H A Dclocksource-wdtest.c98 schedule_timeout_uninterruptible(HZ / 10); in wdtest_ktime_clocksource_reset()
110 schedule_timeout_uninterruptible(holdoff * HZ); in wdtest_func()
121 schedule_timeout_uninterruptible(HZ); in wdtest_func()
152 schedule_timeout_uninterruptible(2 * HZ); in wdtest_func()
162 schedule_timeout_uninterruptible(2 * HZ); in wdtest_func()
/openbmc/linux/Documentation/translations/zh_CN/scheduler/
H A Dsched-nice-design.rst20 nice级别的支持在历史上是与时间片长度耦合的,而时间片单位是由HZ滴答驱动的,
21 所以最小的时间片是1/HZ
47 这种方法在一定程度上奏效了一段时间,但后来HZ=1000时,它导致1 jiffy为
53 因此,对于HZ=1000,我们将nice +19改为5毫秒,因为这感觉像是正确的最小
54 粒度——这相当于5%的CPU利用率。但nice +19的根本的HZ敏感属性依然保持不变,
58 总结一下:我们一直想让nice各级别一致性更强,但在HZ和jiffies的限制下,以及
85 为了解决第一个抱怨(nice级别不够“有力”),调度器与“时间片”、HZ的概念
87 更一致的nice +19支持:在新的调度器中,nice +19的任务得到一个HZ无关的
/openbmc/linux/arch/microblaze/include/asm/
H A Ddelay.h36 #define __MAX_UDELAY (226050910UL/HZ) /* maximum udelay argument */
37 #define __MAX_NDELAY (4294967295UL/HZ) /* maximum ndelay argument */
65 __udelay((n) * (19 * HZ)); \
67 __udelay((n) * (19 * HZ)); \
77 __udelay((n) * HZ); \
79 __udelay((n) * HZ); \
/openbmc/linux/arch/riscv/lib/
H A Ddelay.c46 #define UDELAY_MULT (2147UL * HZ + 483648UL * HZ / 1000000UL)
49 #if HZ > MAX_UDELAY_HZ
69 #define NDELAY_MULT ((unsigned long long)(2199ULL * HZ + 23255550ULL * HZ / 1000000000ULL))
72 #if HZ > MAX_NDELAY_HZ
/openbmc/linux/net/netrom/
H A Dsysctl_net_netrom.c18 static int min_t1[] = {5 * HZ};
19 static int max_t1[] = {600 * HZ};
21 static int min_t2[] = {1 * HZ};
22 static int max_t2[] = {60 * HZ};
23 static int min_t4[] = {1 * HZ};
24 static int max_t4[] = {1000 * HZ};
26 static int min_idle[] = {0 * HZ};
27 static int max_idle[] = {65535 * HZ};
/openbmc/linux/net/bridge/
H A Dbr_private_stp.h16 #define BR_MIN_HELLO_TIME (1*HZ)
17 #define BR_MAX_HELLO_TIME (10*HZ)
19 #define BR_MIN_FORWARD_DELAY (2*HZ)
20 #define BR_MAX_FORWARD_DELAY (30*HZ)
22 #define BR_MIN_MAX_AGE (6*HZ)
23 #define BR_MAX_MAX_AGE (40*HZ)
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-benchmark/dhrystone/dhrystone-2.1/
H A Ddhrystone.patch7 * Undefined identifier HZ
8 - Originally HZ was supposed to be the clock frequency
11 - This patch defines global varible HZ and initializes
35 +#ifndef HZ
37 + long HZ;
46 +#ifndef HZ
47 + HZ = sysconf(_SC_CLK_TCK);
60 +#ifndef HZ
61 + extern long HZ;
/openbmc/linux/arch/mips/sni/
H A Dtime.c15 #define SNI_COUNTER0_DIV ((SNI_CLOCK_TICK_RATE / SNI_COUNTER2_DIV) / HZ)
76 #define SNI_8254_TCSAMP_COUNTER ((SNI_8254_TICK_RATE / HZ) + 255)
107 return (ct1 - ct0) / (500000/HZ) * (500000/HZ); in dosample()
153 (int) (r4k_tick / (500000 / HZ)), in plat_time_init()
154 (int) (r4k_tick % (500000 / HZ))); in plat_time_init()
156 mips_hpt_frequency = r4k_tick * HZ; in plat_time_init()
/openbmc/linux/net/rose/
H A Dsysctl_net_rose.c12 static int min_timer[] = {1 * HZ};
13 static int max_timer[] = {300 * HZ};
14 static int min_idle[] = {0 * HZ};
15 static int max_idle[] = {65535 * HZ};
17 static int min_ftimer[] = {60 * HZ};
18 static int max_ftimer[] = {600 * HZ};
/openbmc/linux/include/scsi/
H A Dscsi.h19 SCSI_DEFAULT_EH_TIMEOUT = 10 * HZ,
134 #define FORMAT_UNIT_TIMEOUT (2 * 60 * 60 * HZ)
135 #define START_STOP_TIMEOUT (60 * HZ)
136 #define MOVE_MEDIUM_TIMEOUT (5 * 60 * HZ)
137 #define READ_ELEMENT_STATUS_TIMEOUT (5 * 60 * HZ)
138 #define READ_DEFECT_DATA_TIMEOUT (60 * HZ )
/openbmc/linux/arch/mips/sgi-ip22/
H A Dip22-time.c63 return (ct1 - ct0) / (500000/HZ) * (500000/HZ); in dosample()
109 (int) (r4k_tick / (500000 / HZ)), in plat_time_init()
110 (int) (r4k_tick % (500000 / HZ))); in plat_time_init()
112 mips_hpt_frequency = r4k_tick * HZ; in plat_time_init()
/openbmc/linux/drivers/net/ethernet/dec/tulip/
H A Dtimer.c24 int next_tick = 2*HZ; in tulip_media_task()
46 next_tick = 60*HZ; in tulip_media_task()
104 next_tick = (24*HZ)/10; in tulip_media_task()
111 next_tick = 3*HZ; in tulip_media_task()
114 next_tick = 60*HZ; in tulip_media_task()
145 int next_tick = 60*HZ; in mxic_timer()
161 int next_tick = 2*HZ; in comet_timer()
H A Dpnic.c68 if (! tp->nwayset || time_after(jiffies, dev_trans_start(dev) + 1*HZ)) { in pnic_lnk_change()
92 int next_tick = 60*HZ; in pnic_timer()
106 next_tick = 3*HZ; in pnic_timer()
119 next_tick = 1*HZ; in pnic_timer()
123 next_tick = 60*HZ; in pnic_timer()
131 next_tick = 3*HZ; in pnic_timer()
134 next_tick = 1*HZ; in pnic_timer()
/openbmc/linux/arch/ia64/include/asm/
H A Dparam.h15 # define HZ CONFIG_HZ macro
16 # define USER_HZ HZ
17 # define CLOCKS_PER_SEC HZ /* frequency at which times() counts */
/openbmc/linux/drivers/net/wireguard/
H A Dtimers.c62 jiffies + REJECT_AFTER_TIME * 3 * HZ); in wg_expired_retransmit_handshake()
87 jiffies + KEEPALIVE_TIMEOUT * HZ); in wg_expired_send_keepalive()
149 jiffies + (KEEPALIVE_TIMEOUT + REKEY_TIMEOUT) * HZ + in wg_timers_data_sent()
159 jiffies + KEEPALIVE_TIMEOUT * HZ); in wg_timers_data_received()
185 jiffies + REKEY_TIMEOUT * HZ + in wg_timers_handshake_initiated()
206 jiffies + REJECT_AFTER_TIME * 3 * HZ); in wg_timers_session_derived()
216 jiffies + peer->persistent_keepalive_interval * HZ); in wg_timers_any_authenticated_packet_traversal()
/openbmc/linux/arch/mips/include/asm/
H A Ddelay.h24 #if HZ >= 1000
26 #elif HZ <= 200
29 #define MAX_UDELAY_MS (1000 / HZ)
/openbmc/linux/arch/loongarch/include/asm/
H A Ddelay.h18 #if HZ >= 1000
20 #elif HZ <= 200
23 #define MAX_UDELAY_MS (1000 / HZ)
/openbmc/linux/kernel/
H A DKconfig.hz16 environment leading to NR_CPUS * HZ number of timer interrupts
21 bool "100 HZ"
28 bool "250 HZ"
36 bool "300 HZ"
44 bool "1000 HZ"
51 config HZ config
/openbmc/linux/net/netfilter/
H A Dnf_conntrack_proto_udp.c28 [UDP_CT_UNREPLIED] = 30*HZ,
29 [UDP_CT_REPLIED] = 120*HZ,
102 ct->proto.udp.stream_ts = 2 * HZ + jiffies; in nf_conntrack_udp_packet()
237 ntohl(nla_get_be32(tb[CTA_TIMEOUT_UDP_UNREPLIED])) * HZ; in udp_timeout_nlattr_to_obj()
241 ntohl(nla_get_be32(tb[CTA_TIMEOUT_UDP_REPLIED])) * HZ; in udp_timeout_nlattr_to_obj()
252 htonl(timeouts[UDP_CT_UNREPLIED] / HZ)) || in udp_timeout_obj_to_nlattr()
254 htonl(timeouts[UDP_CT_REPLIED] / HZ))) in udp_timeout_obj_to_nlattr()
278 un->offload_timeout = 30 * HZ; in nf_conntrack_udp_init_net()
H A Dnf_conntrack_proto_gre.c46 [GRE_CT_UNREPLIED] = 30*HZ,
47 [GRE_CT_REPLIED] = 180*HZ,
191 (ct->proto.gre.timeout / HZ), in gre_print_conntrack()
192 (ct->proto.gre.stream_timeout / HZ)); in gre_print_conntrack()
262 ntohl(nla_get_be32(tb[CTA_TIMEOUT_GRE_UNREPLIED])) * HZ; in gre_timeout_nlattr_to_obj()
266 ntohl(nla_get_be32(tb[CTA_TIMEOUT_GRE_REPLIED])) * HZ; in gre_timeout_nlattr_to_obj()
277 htonl(timeouts[GRE_CT_UNREPLIED] / HZ)) || in gre_timeout_obj_to_nlattr()
279 htonl(timeouts[GRE_CT_REPLIED] / HZ))) in gre_timeout_obj_to_nlattr()
/openbmc/linux/include/video/
H A Dudlfb.h78 #define GET_URB_TIMEOUT HZ
79 #define FREE_URB_TIMEOUT (HZ*2)
96 #define DL_DEFIO_WRITE_DELAY msecs_to_jiffies(HZ <= 300 ? 4 : 10) /* optimal value for 720p vide…
97 #define DL_DEFIO_WRITE_DISABLE (HZ*60) /* "disable" with long delay */
/openbmc/linux/net/ax25/
H A Daf_ax25.c599 ax25->t1 = opt * HZ; in ax25_setsockopt()
607 ax25->t2 = opt * HZ; in ax25_setsockopt()
623 ax25->t3 = opt * HZ; in ax25_setsockopt()
631 ax25->idle = opt * 60 * HZ; in ax25_setsockopt()
738 val = ax25->t1 / HZ; in ax25_getsockopt()
742 val = ax25->t2 / HZ; in ax25_getsockopt()
750 val = ax25->t3 / HZ; in ax25_getsockopt()
1977 ax25_display_timer(&ax25->t1timer) / HZ, ax25->t1 / HZ, in ax25_info_show()
1978 ax25_display_timer(&ax25->t2timer) / HZ, ax25->t2 / HZ, in ax25_info_show()
1979 ax25_display_timer(&ax25->t3timer) / HZ, ax25->t3 / HZ, in ax25_info_show()
[all …]
/openbmc/linux/fs/nfs/
H A Dnfs4renewd.c121 if (timeout < 5 * HZ) in nfs4_schedule_state_renewal()
122 timeout = 5 * HZ; in nfs4_schedule_state_renewal()
124 __func__, (timeout + HZ - 1) / HZ); in nfs4_schedule_state_renewal()

12345678910>>...82