/linux-6.6.21/tools/perf/util/ |
D | time-utils.c | 18 int parse_nsec_time(const char *str, u64 *ptime) in parse_nsec_time() argument 47 *ptime = time_sec * NSEC_PER_SEC + time_nsec; in parse_nsec_time() 51 static int parse_timestr_sec_nsec(struct perf_time_interval *ptime, in parse_timestr_sec_nsec() argument 55 (parse_nsec_time(start_str, &ptime->start) != 0)) { in parse_timestr_sec_nsec() 60 (parse_nsec_time(end_str, &ptime->end) != 0)) { in parse_timestr_sec_nsec() 94 int perf_time__parse_str(struct perf_time_interval *ptime, const char *ostr) in perf_time__parse_str() argument 103 ptime->start = 0; in perf_time__parse_str() 104 ptime->end = 0; in perf_time__parse_str() 106 rc = parse_timestr_sec_nsec(ptime, start_str, end_str); in perf_time__parse_str() 111 if (rc == 0 && ptime->end && ptime->end < ptime->start) in perf_time__parse_str() [all …]
|
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);
|
D | kwork.h | 190 struct perf_time_interval ptime; member
|
/linux-6.6.21/tools/perf/tests/ |
D | time-utils-test.c | 14 u64 ptime; in test__parse_nsec_time() local 19 err = parse_nsec_time(str, &ptime); in test__parse_nsec_time() 25 if (ptime != expected) { in test__parse_nsec_time() 27 ptime, expected); in test__parse_nsec_time() 31 pr_debug("%" PRIu64 "\n", ptime); in test__parse_nsec_time() 38 struct perf_time_interval ptime; in test__perf_time__parse_str() local 43 err = perf_time__parse_str(&ptime, ostr); in test__perf_time__parse_str() 49 if (ptime.start != start || ptime.end != end) { in test__perf_time__parse_str() 64 struct perf_time_interval ptime[TEST_MAX]; member 77 struct perf_time_interval *ptime = NULL; in test__perf_time__parse_for_ranges() local [all …]
|
/linux-6.6.21/tools/perf/ |
D | builtin-sched.c | 247 struct perf_time_interval ptime; member 2493 !perf_time__skip_sample(&sched->ptime, sample->time)) in timehist_sched_wakeup_event() 2587 struct perf_time_interval *ptime = &sched->ptime; in timehist_sched_change_event() local 2625 if (ptime->start && ptime->start > t) in timehist_sched_change_event() 2628 if (tprev && ptime->start > tprev) in timehist_sched_change_event() 2629 tprev = ptime->start; in timehist_sched_change_event() 2637 if (ptime->end) { in timehist_sched_change_event() 2638 if (tprev > ptime->end) in timehist_sched_change_event() 2641 if (t > ptime->end) in timehist_sched_change_event() 2642 t = ptime->end; in timehist_sched_change_event() [all …]
|
D | builtin-kwork.c | 370 struct perf_time_interval *ptime = &kwork->ptime; in profile_event_match() local 375 if (((ptime->start != 0) && (ptime->start > time)) || in profile_event_match() 376 ((ptime->end != 0) && (ptime->end < time))) in profile_event_match() 1375 ret = perf_time__parse_str(&kwork->ptime, kwork->time_str); in perf_kwork__check_config()
|
D | builtin-kmem.c | 84 static struct perf_time_interval ptime; variable 949 if (perf_time__skip_sample(&ptime, sample->time)) in perf_kmem__skip_sample() 2028 if (perf_time__parse_str(&ptime, time_str) != 0) { in cmd_kmem()
|
/linux-6.6.21/arch/mips/include/asm/octeon/ |
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 …]
|
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.6.21/sound/usb/ |
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.6.21/kernel/time/ |
D | posix-cpu-timers.c | 1017 u64 ptime = samples[CPUCLOCK_PROF]; in check_process_timers() local 1023 check_rlimit(ptime, hardns, SIGKILL, false, true)) in check_process_timers() 1027 if (check_rlimit(ptime, softns, SIGXCPU, false, false)) { in check_process_timers()
|