/kernel/linux/linux-5.10/tools/perf/tests/ |
H A 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() 26 pr_debug("Failed. ptime %" PRIu64 " expected %" PRIu64 "\n", 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 in test__perf_time__parse_str() 64 struct perf_time_interval ptime[TEST_MAX]; global() member 77 struct perf_time_interval *ptime = NULL; test__perf_time__parse_for_ranges() local [all...] |
/kernel/linux/linux-6.6/tools/perf/tests/ |
H A 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() 26 pr_debug("Failed. ptime %" PRIu64 " expected %" PRIu64 "\n", 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 in test__perf_time__parse_str() 64 struct perf_time_interval ptime[TEST_MAX]; global() member 77 struct perf_time_interval *ptime = NULL; test__perf_time__parse_for_ranges() local [all...] |
/kernel/linux/linux-5.10/tools/perf/util/ |
H A 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 in perf_time__parse_str() 120 perf_time__parse_strs(struct perf_time_interval *ptime, const char *ostr, int size) perf_time__parse_strs() argument 199 set_percent_time(struct perf_time_interval *ptime, double start_pcnt, double end_pcnt, u64 start, u64 end) set_percent_time() argument 218 percent_slash_split(char *str, struct perf_time_interval *ptime, u64 start, u64 end) percent_slash_split() argument 253 percent_dash_split(char *str, struct perf_time_interval *ptime, u64 start, u64 end) percent_dash_split() argument 395 struct perf_time_interval *ptime; perf_time__range_alloc() local 419 perf_time__skip_sample(struct perf_time_interval *ptime, u64 timestamp) perf_time__skip_sample() argument 437 struct perf_time_interval *ptime; perf_time__ranges_skip_sample() local [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);
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A 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 in perf_time__parse_str() 120 perf_time__parse_strs(struct perf_time_interval *ptime, const char *ostr, int size) perf_time__parse_strs() argument 199 set_percent_time(struct perf_time_interval *ptime, double start_pcnt, double end_pcnt, u64 start, u64 end) set_percent_time() argument 218 percent_slash_split(char *str, struct perf_time_interval *ptime, u64 start, u64 end) percent_slash_split() argument 253 percent_dash_split(char *str, struct perf_time_interval *ptime, u64 start, u64 end) percent_dash_split() argument 395 struct perf_time_interval *ptime; perf_time__range_alloc() local 419 perf_time__skip_sample(struct perf_time_interval *ptime, u64 timestamp) perf_time__skip_sample() argument 437 struct perf_time_interval *ptime; perf_time__ranges_skip_sample() local [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 | 190 struct perf_time_interval ptime; member
|
/kernel/linux/linux-5.10/tools/perf/ |
H A D | builtin-sched.c | 246 struct perf_time_interval ptime; member 2438 !perf_time__skip_sample(&sched->ptime, sample->time)) in timehist_sched_wakeup_event() 2532 struct perf_time_interval *ptime = &sched->ptime; in timehist_sched_change_event() local 2569 if (ptime->start && ptime->start > t) in timehist_sched_change_event() 2572 if (tprev && ptime->start > tprev) in timehist_sched_change_event() 2573 tprev = ptime->start; in timehist_sched_change_event() 2581 if (ptime->end) { in timehist_sched_change_event() 2582 if (tprev > ptime in timehist_sched_change_event() [all...] |
H A D | builtin-kmem.c | 82 static struct perf_time_interval ptime; variable 927 if (perf_time__skip_sample(&ptime, sample->time)) in perf_kmem__skip_sample() 1986 if (perf_time__parse_str(&ptime, time_str) != 0) { in cmd_kmem()
|
/kernel/linux/linux-6.6/tools/perf/ |
H A 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 in timehist_sched_change_event() [all...] |
H A 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()
|
H A 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()
|
/kernel/linux/linux-5.10/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 2222 uint64_t ptime:1; global() member 2372 uint64_t ptime:1; global() member [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;
|
/kernel/linux/linux-6.6/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 2222 uint64_t ptime:1; global() member 2372 uint64_t ptime:1; global() member [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;
|
/kernel/linux/linux-5.10/sound/usb/ |
H A D | pcm.c | 997 unsigned int ptime; in hw_check_valid_format() local 1024 ptime = 125 * (1 << fp->datainterval); in hw_check_valid_format() 1025 if (ptime > pt->max || (ptime == pt->max && pt->openmax)) { in hw_check_valid_format() 1026 hwc_debug(" > check: ptime %u > max %u\n", ptime, pt->max); in hw_check_valid_format()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/kernel/time/ |
H A D | posix-cpu-timers.c | 953 u64 ptime = samples[CPUCLOCK_PROF]; in check_process_timers() local 959 check_rlimit(ptime, hardns, SIGKILL, false, true)) in check_process_timers() 963 if (check_rlimit(ptime, softns, SIGXCPU, false, false)) { in check_process_timers()
|
/kernel/linux/linux-6.6/kernel/time/ |
H A 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()
|