| /linux-6.15/tools/perf/util/ |
| H A D | time-utils.c | 103 ptime->start = 0; in perf_time__parse_str() 104 ptime->end = 0; in perf_time__parse_str() 111 if (rc == 0 && ptime->end && ptime->end < ptime->start) in perf_time__parse_str() 167 if (ptime[i].end >= ptime[i + 1].start) { in perf_time__parse_strs() 212 if (ptime->end > ptime->start && ptime->end != end) in set_percent_time() 213 ptime->end -= 1; in set_percent_time() 415 ptime = calloc(i, sizeof(*ptime)); in perf_time__range_alloc() 416 return ptime; in perf_time__range_alloc() 426 if ((ptime->start && timestamp < ptime->start) || in perf_time__skip_sample() 427 (ptime->end && timestamp > ptime->end)) { in perf_time__skip_sample() [all …]
|
| H A D | time-utils.h | 13 int parse_nsec_time(const char *str, u64 *ptime); 15 int perf_time__parse_str(struct perf_time_interval *ptime, const char *ostr); 22 bool perf_time__skip_sample(struct perf_time_interval *ptime, u64 timestamp);
|
| H A D | kwork.h | 219 struct perf_time_interval ptime; member
|
| /linux-6.15/tools/perf/tests/ |
| H A D | time-utils-test.c | 14 u64 ptime; in test__parse_nsec_time() local 25 if (ptime != expected) { in test__parse_nsec_time() 27 ptime, expected); in test__parse_nsec_time() 38 struct perf_time_interval ptime; in test__perf_time__parse_str() local 49 if (ptime.start != start || ptime.end != end) { in test__perf_time__parse_str() 102 if (ptime[i].start != d->ptime[i].start || in test__perf_time__parse_for_ranges() 103 ptime[i].end != d->ptime[i].end) { in test__perf_time__parse_for_ranges() 105 i, d->ptime[i].start, d->ptime[i].end); in test__perf_time__parse_for_ranges() 130 free(ptime); in test__perf_time__parse_for_ranges() 162 .ptime = { {b, b + 1}, }, in test__time_utils() [all …]
|
| /linux-6.15/tools/perf/ |
| H A D | builtin-sched.c | 234 struct perf_time_interval ptime; member 2742 struct perf_time_interval *ptime = &sched->ptime; in timehist_sched_change_event() local 2783 if (ptime->start && ptime->start > t) in timehist_sched_change_event() 2786 if (tprev && ptime->start > tprev) in timehist_sched_change_event() 2787 tprev = ptime->start; in timehist_sched_change_event() 2798 if (ptime->end) { in timehist_sched_change_event() 2799 if (!tprev || tprev > ptime->end) in timehist_sched_change_event() 2802 if (t > ptime->end) in timehist_sched_change_event() 2803 t = ptime->end; in timehist_sched_change_event() 2845 if (sched->hist_time.start == 0 && t >= ptime->start) in timehist_sched_change_event() [all …]
|
| H A D | builtin-kwork.c | 425 struct perf_time_interval *ptime = &kwork->ptime; in profile_event_match() local 430 if (((ptime->start != 0) && (ptime->start > time)) || in profile_event_match() 431 ((ptime->end != 0) && (ptime->end < time))) in profile_event_match() 1772 ret = perf_time__parse_str(&kwork->ptime, kwork->time_str); in perf_kwork__check_config()
|
| H A D | builtin-kmem.c | 84 static struct perf_time_interval ptime; variable 951 if (perf_time__skip_sample(&ptime, sample->time)) in perf_kmem__skip_sample() 2029 if (perf_time__parse_str(&ptime, time_str) != 0) { in cmd_kmem()
|
| /linux-6.15/arch/mips/include/asm/octeon/ |
| H A D | cvmx-npei-defs.h | 1561 uint64_t ptime:1; member 1599 uint64_t ptime:1; 1694 uint64_t ptime:1; member 1732 uint64_t ptime:1; 1826 uint64_t ptime:1; member 1864 uint64_t ptime:1; 1961 uint64_t ptime:1; member 1999 uint64_t ptime:1; 2092 uint64_t ptime:1; member 2130 uint64_t ptime:1; [all …]
|
| H A D | cvmx-mio-defs.h | 3646 uint64_t ptime:1; member 3658 uint64_t ptime:1; 4061 uint64_t ptime:1; member 4073 uint64_t ptime:1;
|
| /linux-6.15/sound/usb/ |
| H A D | pcm.c | 733 unsigned int ptime; in hw_check_valid_format() local 760 ptime = 125 * (1 << fp->datainterval); in hw_check_valid_format() 761 if (ptime > pt->max || (ptime == pt->max && pt->openmax)) { in hw_check_valid_format() 762 hwc_debug(" > check: ptime %u > max %u\n", ptime, pt->max); in hw_check_valid_format()
|
| /linux-6.15/kernel/time/ |
| H A D | posix-cpu-timers.c | 985 u64 ptime = samples[CPUCLOCK_PROF]; in check_process_timers() local 991 check_rlimit(ptime, hardns, SIGKILL, false, true)) in check_process_timers() 995 if (check_rlimit(ptime, softns, SIGXCPU, false, false)) { in check_process_timers()
|
| /linux-6.15/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/ |
| H A D | r535.c | 179 r535_gsp_msgq_wait(struct nvkm_gsp *gsp, u32 gsp_rpc_len, int *ptime) in r535_gsp_msgq_wait() argument 199 } while (--(*ptime)); in r535_gsp_msgq_wait() 201 if (WARN_ON(!*ptime)) in r535_gsp_msgq_wait()
|