| /linux/kernel/time/ |
| H A D | posix-cpu-timers.c | 24 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 D | posix-timers.h | 101 static inline void posix_cputimers_init(struct posix_cputimers *pct) in posix_cputimers_init() argument 103 memset(pct, 0, sizeof(*pct)); in posix_cputimers_init() 104 pct->bases[0].nextevt = U64_MAX; in posix_cputimers_init() 105 pct->bases[1].nextevt = U64_MAX; in posix_cputimers_init() 106 pct->bases[2].nextevt = U64_MAX; in posix_cputimers_init() 109 void posix_cputimers_group_init(struct posix_cputimers *pct, u64 cpu_limit); 111 static inline void posix_cputimers_rt_watchdog(struct posix_cputimers *pct, in posix_cputimers_rt_watchdog() argument 114 pct->bases[CPUCLOCK_SCHED].nextevt = runtime; in posix_cputimers_rt_watchdog() 142 static inline void posix_cputimers_init(struct posix_cputimers *pct) { } in posix_cputimers_init() argument 143 static inline void posix_cputimers_group_init(struct posix_cputimers *pct, in posix_cputimers_group_init() argument
|
| /linux/Documentation/devicetree/bindings/arc/ |
| H A D | pct.txt | 4 CPU and cache events like cache misses and hits. Like conventional PCT there 8 * The ARC 700 PCT does not support interrupts; although HW events may be 14 "snps,arc700-pct" 19 compatible = "snps,arc700-pct";
|
| H A D | snps,archs-pct.yaml | 4 $id: http://devicetree.org/schemas/arc/snps,archs-pct.yaml# 14 CPU and cache events like cache misses and hits. Like conventional PCT there 20 const: snps,archs-pct
|
| /linux/drivers/powercap/ |
| H A D | dtpm.c | 37 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/testing/selftests/ptp/ |
| H A D | testptp.c | 165 struct ptp_clock_time *pct; in main() local 572 pct = &sysoff->ts[0]; in main() 574 t1 = pctns(pct+2*i); in main() 575 tp = pctns(pct+2*i+1); in main() 576 t2 = pctns(pct+2*i+2); in main() 581 (pct+2*i)->sec, (pct+2*i)->nsec); in main() 583 (pct+2*i+1)->sec, (pct+2*i+1)->nsec); in main() 585 (pct+2*i+2)->sec, (pct+2*i+2)->nsec); in main()
|
| /linux/drivers/xen/ |
| H A D | xen-acpi-processor.c | 188 static int xen_copy_pct_data(struct acpi_pct_register *pct, in xen_copy_pct_data() argument 191 /* It would be nice if you could just do 'memcpy(pct, dst_pct') but in xen_copy_pct_data() 193 * descriptor field takes two (dst_pct) bytes instead of one (pct). in xen_copy_pct_data() 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/drivers/ptp/ |
| H A D | ptp_chardev.c | 406 struct ptp_clock_time *pct; in ptp_sys_offset() local 416 pct = &sysoff->ts[0]; in ptp_sys_offset() 422 pct->sec = ts.tv_sec; in ptp_sys_offset() 423 pct->nsec = ts.tv_nsec; in ptp_sys_offset() 424 pct++; in ptp_sys_offset() 431 pct->sec = ts.tv_sec; in ptp_sys_offset() 432 pct->nsec = ts.tv_nsec; in ptp_sys_offset() 433 pct++; in ptp_sys_offset() 436 pct->sec = ts.tv_sec; in ptp_sys_offset() 437 pct->nsec = ts.tv_nsec; in ptp_sys_offset()
|
| /linux/arch/powerpc/include/asm/ |
| H A D | nmi.h | 7 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/arch/arc/boot/dts/ |
| H A D | nsim_700.dts | 55 arcpct0: pct { 56 compatible = "snps,arc700-pct";
|
| H A D | haps_hs_idu.dts | 68 arcpct0: pct { 69 compatible = "snps,archs-pct";
|
| H A D | nsimosci.dts | 84 arcpct0: pct { 85 compatible = "snps,arc700-pct";
|
| H A D | nsimosci_hs.dts | 84 arcpct0: pct { 85 compatible = "snps,archs-pct";
|
| H A D | haps_hs.dts | 63 arcpct0: pct { 64 compatible = "snps,archs-pct";
|
| H A D | nsimosci_hs_idu.dts | 92 arcpct0: pct { 93 compatible = "snps,archs-pct";
|
| H A D | axc001.dtsi | 77 arcpct0: pct { 78 compatible = "snps,arc700-pct";
|
| H A D | axc003.dtsi | 85 arcpct0: pct { 86 compatible = "snps,archs-pct";
|
| H A D | axc003_idu.dtsi | 92 arcpct0: pct { 93 compatible = "snps,archs-pct";
|
| /linux/drivers/acpi/ |
| H A D | processor_perflib.c | 231 union acpi_object *pct = NULL; in acpi_processor_get_performance_control() local 240 pct = (union acpi_object *)buffer.pointer; in acpi_processor_get_performance_control() 241 if (!pct || pct->type != ACPI_TYPE_PACKAGE || pct->package.count != 2) { in acpi_processor_get_performance_control() 251 obj = pct->package.elements[0]; in acpi_processor_get_performance_control() 266 obj = pct->package.elements[1]; in acpi_processor_get_performance_control()
|
| /linux/Documentation/devicetree/bindings/sound/ |
| H A D | da7218.txt | 60 - dlg,jack-threshold-pct : Threshold level for jack detection (% of VDD) 99 dlg,jack-threshold-pct = <84>;
|
| /linux/tools/perf/util/ |
| H A D | stat-display.c | 180 double pct) in print_noise_pct_std() argument 182 if (pct) in print_noise_pct_std() 183 fprintf(config->output, " ( +-%6.2f%% )", pct); in print_noise_pct_std() 187 double pct) in print_noise_pct_csv() argument 189 fprintf(config->output, "%s%.2f%%", config->csv_sep, pct); in print_noise_pct_csv() 193 double pct) in print_noise_pct_json() argument 195 json_out(os, "\"variance\" : %.2f", pct); in print_noise_pct_json() 201 double pct = rel_stddev_stats(total, avg); in print_noise_pct() local 205 print_noise_pct_json(os, pct); in print_noise_pct() 208 print_noise_pct_csv(config, pct); in print_noise_pct() [all …]
|
| /linux/tools/testing/selftests/net/forwarding/ |
| H A D | custom_multipath_hash.sh | 269 local pct=$(echo "$diff / $sum * 100" | bc -l) 270 local is_balanced=$(echo "-20 <= $pct && $pct <= 20" | bc)
|
| H A D | gre_custom_multipath_hash.sh | 364 local pct=$(echo "$diff / $sum * 100" | bc -l) 365 local is_balanced=$(echo "-20 <= $pct && $pct <= 20" | bc)
|
| /linux/tools/perf/bench/ |
| H A D | epoll-ctl.c | 204 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/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| H A D | dcbnl.h | 12 /* bw pct for priority group */
|