Home
last modified time | relevance | path

Searched refs:expected_us (Results 1 – 2 of 2) sorted by relevance

/external/ltp/testcases/kernel/sched/eas/
Dsched_cfs_prio.c56 int check_bounds(long long expected_us, long long runtime_us) in check_bounds() argument
62 lower_bound_pct = (LOWER_BOUND_PCT / (100 * expected_us)); in check_bounds()
63 lower_bound_us = (expected_us - LOWER_BOUND_US); in check_bounds()
68 upper_bound_pct = (UPPER_BOUND_PCT / (100 * expected_us)); in check_bounds()
69 upper_bound_us = (expected_us + UPPER_BOUND_US); in check_bounds()
94 long long expected_us[4]; in parse_results() local
148 expected_us[i] = TEST_TASK_SECONDS * USEC_PER_SEC; in parse_results()
149 expected_us[i] *= prio_to_weight[i]; in parse_results()
150 expected_us[i] /= weight_sum; in parse_results()
156 runtime_us[0] / 1000, expected_us[0] / 1000); in parse_results()
[all …]
/external/perfetto/src/traced/probes/ftrace/
Dcpu_reader_unittest.cc73 uint64_t expected_us) { in WithinOneMicrosecond() argument
76 uint64_t total_expected_us = expected_s * 1000 * 1000 + expected_us; in WithinOneMicrosecond()
83 << "." << expected_us; in WithinOneMicrosecond()