Home
last modified time | relevance | path

Searched refs:before (Results 1 – 25 of 147) sorted by relevance

123456

/xnu-11215/tests/recount/
H A Dthread_selfcounts_tests.c21 T_EXPECT_GT(before->tcpi_instructions, UINT64_C(0), in _check_cpi()
97 _check_usage(struct thsc_time_energy_cpi *before, in _check_usage() argument
146 struct thsc_time_energy_cpi *before = calloc(level_count, sizeof(*before)); variable
152 level_count * sizeof(*before));
167 free(before);
173 struct thsc_time_energy_cpi *before, in _expect_counts_on_perf_level() argument
178 level_count * sizeof(*before)); in _expect_counts_on_perf_level()
193 struct thsc_time_energy_cpi *before, in _expect_no_counts_on_perf_level() argument
198 level_count * sizeof(*before)); in _expect_no_counts_on_perf_level()
228 struct thsc_time_energy_cpi *before = calloc(level_count, sizeof(*before)); variable
[all …]
H A Drecount_tests.c300 before = __thread_selfusage();
314 struct rusage_info_v6 before = { 0 }; variable
365 struct rusage_info_v6 before = { 0 }; variable
380 before.ri_secure_ptime_in_system,
385 before.ri_secure_time_in_system;
389 before.ri_system_ptime;
391 before.ri_secure_ptime_in_system;
403 before->ptcd_system_time_mach, before->ptcd_instructions, in _proc_pidthreadcounts_increasing()
404 before->ptcd_cycles, before->ptcd_energy_nj); in _proc_pidthreadcounts_increasing()
518 memset(before, 0, counts_size);
[all …]
H A Drecount_perf_tests.c160 sizeof(before)); in proc_pidtaskinfo_usage()
175 before.pti_total_user); in proc_pidtaskinfo_usage()
177 before.pti_total_system); in proc_pidtaskinfo_usage()
201 (rusage_info_t *)&before); in proc_pid_rusage_usage()
214 before.ri_user_time); in proc_pid_rusage_usage()
216 before.ri_system_time); in proc_pid_rusage_usage()
257 struct rusage before = { 0 }; in getrusage_usage() local
285 int before_ret = thread_selfcounts(THSC_TIME_CPI, &before, sizeof(before)); in thread_selfcounts_usage()
297 before.ttci_user_time_mach; in thread_selfcounts_usage()
301 before.ttci_instructions; in thread_selfcounts_usage()
[all …]
/xnu-11215/libkern/os/
H A Dlog.c1190 log_stats_get(before); \
1232 if (before) { in log_stats_diff()
1233 d = *before; in log_stats_diff()
1278 log_stats_diff(before, after, &diff); in log_stats_report()
1328 log_stats_t before = {}, after = {}; in test_printf() local
1331 log_stats_get(&before); in test_printf()
1464 log_stats_t before = {}, after = {}; in test_os_log() local
1466 test_oslog_info(uniqid, n, &before, &after); in test_os_log()
1505 log_stats_t after, before, expected = {}; in test_os_log_parallel() local
1507 log_stats_get(&before); in test_os_log_parallel()
[all …]
/xnu-11215/tests/
H A Dvm_test_mach_map.c1249 if (before != after) {
1293 if (before != after) {
1363 if (before != after) {
1617 if (before != after) {
1688 if (before != after) {
1764 if (before != after) {
1846 if (before != after) {
1968 before = *addr;
1975 } else if (after != before) {
1982 before = *addr;
[all …]
H A Dkqueue_timer_tests.c46 struct timeval before, after; in do_simple_kevent() local
55 gettimeofday(&before, NULL); in do_simple_kevent()
68 elapsed_usecs = (after.tv_sec - before.tv_sec) * (int64_t)USEC_PER_SEC + in do_simple_kevent()
69 (after.tv_usec - before.tv_usec); in do_simple_kevent()
232 struct timeval before, after; in test_interval_kevent() local
235 gettimeofday(&before, NULL); in test_interval_kevent()
251 elapsed_usecs = (uint64_t)((after.tv_sec - before.tv_sec) * (int64_t)USEC_PER_SEC + in test_interval_kevent()
252 (after.tv_usec - before.tv_usec)); in test_interval_kevent()
H A Dmach_continuous_time.c239 int before, after; variable
248 before = (int)to_ms(mach_continuous_time());
254 T_ASSERT_LT(abs(before - after), 1000, "mach_continuous_time should not jump more than 1s");
266 int before, after; variable
275 before = (int)to_ms(mach_continuous_time_kernel());
281 T_ASSERT_LT(abs(before - after), 1000, "mach_continuous_time_kernel should not jump more than 1s");
H A Dmonotonic_uncore.c331 uint64_t before = counts[0][i * mon]; variable
332 uint64_t delta = after - before;
334 before, after, delta);
336 T_EXPECT_GT(after, before,
/xnu-11215/san/memory/
H A Dkasan-report.c55 int before = CRASH_CONTEXT_BEFORE; in kasan_dump_shadow() local
64 shadow -= CONTEXT_BLOCK_SIZE * before; in kasan_dump_shadow()
69 for (i = 0; i < 1 + before + after; i++, shadow += CONTEXT_BLOCK_SIZE) { in kasan_dump_shadow()
H A Dkasan-blacklist-arm6419 # These are required to fixup the kernelcache, which needs to happen before KASAN
/xnu-11215/bsd/kern/
H A Dbsd_syscalls_stashtask.txt3 - Fill in any gaps before being added to the end of the list.
/xnu-11215/EXTERNAL_HEADERS/CoreEntitlements/
H A DKernelUtils.hpp15 #error This is a private API, please consult with the Trusted Execution team before using this. Mis…
H A DEntitlementsPriv.h18 #error This is a private API, please consult with the Trusted Execution team before using this. Mis…
/xnu-11215/osfmk/UserNotification/
H A DUNDRequest.defs16 * http://www.opensource.apple.com/apsl/ and read it before using this file.
102 * care should be exercised before using this method.
/xnu-11215/doc/primitives/
H A Dsched_cond.md41 1. Multiple calls to wake the consumer thread (A) may be made before the consumer_thread has awoken.
89 last ack before giong to sleep.
/xnu-11215/iokit/DriverKit/
H A DIOServiceStateNotificationDispatchSource.iig16 * http://www.opensource.apple.com/apsl/ and read it before using this file.
97 * before reading any item values.
H A DOSAction.iig16 * http://www.opensource.apple.com/apsl/ and read it before using this file.
131 * @discussion This call should be made before any possible invocation of the action.
143 * if necessary the action should be canceled before calling EndWait().
H A DIOEventLink.iig16 * http://www.opensource.apple.com/apsl/ and read it before using this file.
171 …* @discussion The event link must be activated before it can be signaled or waited on. This is no…
179 * @discussion The eventlink should be activated before this call. This is not real-time safe.
/xnu-11215/libkern/zlib/
H A DREADME29 PLEASE read the zlib FAQ http://www.gzip.org/zlib/zlib_faq.html before asking
82 installed before testing (do "make install" before "make test"), since the
/xnu-11215/libsyscall/mach/
H A Dprocessor.defs16 * http://www.opensource.apple.com/apsl/ and read it before using this file.
H A Drestartable.defs16 * http://www.opensource.apple.com/apsl/ and read it before using this file.
H A Dprocessor_set.defs16 * http://www.opensource.apple.com/apsl/ and read it before using this file.
H A Dexc.defs16 * http://www.opensource.apple.com/apsl/ and read it before using this file.
H A Dmach_vm.defs16 * http://www.opensource.apple.com/apsl/ and read it before using this file.
H A Dhost_priv.defs16 * http://www.opensource.apple.com/apsl/ and read it before using this file.

123456