Home
last modified time | relevance | path

Searched refs:pct (Results 1 – 25 of 32) sorted by relevance

12

/linux/kernel/time/
H A Dposix-cpu-timers.c24 void posix_cputimers_group_init(struct posix_cputimers *pct, u64 cpu_limit) in posix_cputimers_group_init() argument
26 posix_cputimers_init(pct); in posix_cputimers_group_init()
28 pct->bases[CPUCLOCK_PROF].nextevt = cpu_limit * NSEC_PER_SEC; in posix_cputimers_group_init()
29 pct->timers_active = true; in posix_cputimers_group_init()
152 static inline bool expiry_cache_is_inactive(const struct posix_cputimers *pct) in expiry_cache_is_inactive() argument
154 return !(~pct->bases[CPUCLOCK_PROF].nextevt | in expiry_cache_is_inactive()
155 ~pct->bases[CPUCLOCK_VIRT].nextevt | in expiry_cache_is_inactive()
156 ~pct->bases[CPUCLOCK_SCHED].nextevt); in expiry_cache_is_inactive()
276 struct posix_cputimers *pct = &tsk->signal->posix_cputimers; in thread_group_sample_cputime() local
278 WARN_ON_ONCE(!pct->timers_active); in thread_group_sample_cputime()
[all …]
/linux/include/linux/
H A Dposix-timers.h96 static inline void posix_cputimers_init(struct posix_cputimers *pct) in posix_cputimers_init() argument
98 memset(pct, 0, sizeof(*pct)); in posix_cputimers_init()
99 pct->bases[0].nextevt = U64_MAX; in posix_cputimers_init()
100 pct->bases[1].nextevt = U64_MAX; in posix_cputimers_init()
101 pct->bases[2].nextevt = U64_MAX; in posix_cputimers_init()
104 void posix_cputimers_group_init(struct posix_cputimers *pct, u64 cpu_limit);
106 static inline void posix_cputimers_rt_watchdog(struct posix_cputimers *pct, in posix_cputimers_rt_watchdog() argument
109 pct->bases[CPUCLOCK_SCHED].nextevt = runtime; in posix_cputimers_rt_watchdog()
136 static inline void posix_cputimers_init(struct posix_cputimers *pct) { } in posix_cputimers_init() argument
137 static inline void posix_cputimers_group_init(struct posix_cputimers *pct, in posix_cputimers_group_init() argument
/linux/drivers/powercap/
H A Ddtpm.c37 static struct powercap_control_type *pct; variable
338 powercap_unregister_zone(pct, &dtpm->zone); in dtpm_unregister()
369 if (!pct) in dtpm_register()
390 pcz = powercap_register_zone(&dtpm->zone, pct, name, in dtpm_register()
558 if (pct) { in dtpm_create_hierarchy()
563 pct = powercap_register_control_type(NULL, "dtpm", NULL); in dtpm_create_hierarchy()
564 if (IS_ERR(pct)) { in dtpm_create_hierarchy()
566 ret = PTR_ERR(pct); in dtpm_create_hierarchy()
608 powercap_unregister_control_type(pct); in dtpm_create_hierarchy()
610 pct = NULL; in dtpm_create_hierarchy()
[all …]
/linux/tools/perf/util/
H A Dstream.c229 double pct; in print_callchain_pair()
233 pct = (double)base_cnode->hit / (double)es_base->streams_hits; in print_callchain_pair()
235 callchain_avg_cycles(base_cnode), pct * 100.0); in print_callchain_pair()
237 pct = (double)pair_cnode->hit / (double)es_pair->streams_hits; in print_callchain_pair()
239 callchain_avg_cycles(pair_cnode), pct * 100.0); in print_callchain_pair()
272 double pct; in print_stream_callchain()
276 pct = (double)cnode->hit / (double)es->streams_hits; in print_stream_callchain()
278 callchain_avg_cycles(cnode), pct * 100.0); in print_stream_callchain()
230 double pct; print_callchain_pair() local
273 double pct; print_stream_callchain() local
H A Dblock-info.c199 static int color_pct(struct perf_hpp *hpp, int width, double pct) in color_pct() argument
204 width - 1, pct); in color_pct()
207 return hpp_color_scnprintf(hpp, "%*.2f%%", width - 1, pct); in color_pct()
/linux/drivers/ptp/
H A Dptp_chardev.c174 struct ptp_clock_time *pct; in ptp_ioctl() local
402 pct = &sysoff->ts[0]; in ptp_ioctl()
405 pct->sec = ts.tv_sec; in ptp_ioctl()
406 pct->nsec = ts.tv_nsec; in ptp_ioctl()
407 pct++; in ptp_ioctl()
414 pct->sec = ts.tv_sec; in ptp_ioctl()
415 pct->nsec = ts.tv_nsec; in ptp_ioctl()
416 pct++; in ptp_ioctl()
419 pct->sec = ts.tv_sec; in ptp_ioctl()
420 pct->nsec = ts.tv_nsec; in ptp_ioctl()
/linux/drivers/xen/
H A Dxen-acpi-processor.c188 static int xen_copy_pct_data(struct acpi_pct_register *pct, in xen_copy_pct_data() argument
195 dst_pct->descriptor = pct->descriptor; in xen_copy_pct_data()
196 dst_pct->length = pct->length; in xen_copy_pct_data()
197 dst_pct->space_id = pct->space_id; in xen_copy_pct_data()
198 dst_pct->bit_width = pct->bit_width; in xen_copy_pct_data()
199 dst_pct->bit_offset = pct->bit_offset; in xen_copy_pct_data()
200 dst_pct->reserved = pct->reserved; in xen_copy_pct_data()
201 dst_pct->address = pct->address; in xen_copy_pct_data()
/linux/arch/powerpc/include/asm/
H A Dnmi.h7 void watchdog_hardlockup_set_timeout_pct(u64 pct);
9 static inline void watchdog_hardlockup_set_timeout_pct(u64 pct) {} in watchdog_hardlockup_set_timeout_pct() argument
/linux/Documentation/devicetree/bindings/arc/
H A Dpct.txt14 "snps,arc700-pct"
19 compatible = "snps,arc700-pct";
/linux/arch/arc/boot/dts/
H A Dnsim_700.dts55 arcpct0: pct {
56 compatible = "snps,arc700-pct";
H A Dhaps_hs_idu.dts68 arcpct0: pct {
69 compatible = "snps,archs-pct";
H A Dnsimosci.dts84 arcpct0: pct {
85 compatible = "snps,arc700-pct";
H A Dnsimosci_hs.dts84 arcpct0: pct {
85 compatible = "snps,archs-pct";
H A Dhaps_hs.dts63 arcpct0: pct {
64 compatible = "snps,archs-pct";
H A Dnsimosci_hs_idu.dts92 arcpct0: pct {
93 compatible = "snps,archs-pct";
H A Daxc001.dtsi77 arcpct0: pct {
78 compatible = "snps,arc700-pct";
H A Daxc003.dtsi85 arcpct0: pct {
86 compatible = "snps,archs-pct";
H A Daxc003_idu.dtsi92 arcpct0: pct {
93 compatible = "snps,archs-pct";
/linux/arch/powerpc/kernel/
H A Dwatchdog.c585 void watchdog_hardlockup_set_timeout_pct(u64 pct) in watchdog_hardlockup_set_timeout_pct() argument
587 pr_info("Set the NMI watchdog timeout factor to %llu%%\n", pct); in watchdog_hardlockup_set_timeout_pct()
588 WRITE_ONCE(wd_timeout_pct, pct); in watchdog_hardlockup_set_timeout_pct()
/linux/tools/testing/selftests/net/forwarding/
H A Dcustom_multipath_hash.sh269 local pct=$(echo "$diff / $sum * 100" | bc -l)
270 local is_balanced=$(echo "-20 <= $pct && $pct <= 20" | bc)
H A Dgre_custom_multipath_hash.sh364 local pct=$(echo "$diff / $sum * 100" | bc -l)
365 local is_balanced=$(echo "-20 <= $pct && $pct <= 20" | bc)
H A Dip6gre_custom_multipath_hash.sh366 local pct=$(echo "$diff / $sum * 100" | bc -l)
367 local is_balanced=$(echo "-20 <= $pct && $pct <= 20" | bc)
/linux/tools/perf/bench/
H A Depoll-ctl.c204 static void init_fdmaps(struct worker *w, int pct) in init_fdmaps() argument
210 if (!pct) in init_fdmaps()
213 inc = 100/pct; in init_fdmaps()
/linux/Documentation/devicetree/bindings/sound/
H A Dda7218.txt60 - dlg,jack-threshold-pct : Threshold level for jack detection (% of VDD)
99 dlg,jack-threshold-pct = <84>;
/linux/tools/perf/ui/
H A Dbrowser.c314 int height = browser->height, h = 0, pct = 0, in ui_browser__scrollbar_set()
319 pct = ((browser->index * (browser->height - 1)) / in ui_browser__scrollbar_set()
327 SLsmg_write_char(h == pct ? SLSMG_DIAMOND_CHAR : SLSMG_CKBRD_CHAR); in ui_browser__scrollbar_set()
312 int height = browser->height, h = 0, pct = 0, ui_browser__scrollbar_set() local

12