| /xnu-8796.141.3/tests/recount/ |
| H A D | rusage_tests.c | 29 UINT64_C(0), "kernel CPU time should be non-zero"); 32 UINT64_C(0), "kernel user CPU time should be zero"); 45 T_EXPECT_NE(usage_info.ri_user_time, UINT64_C(0), 48 T_EXPECT_GT(usage_info.ri_system_time, UINT64_C(0),
|
| H A D | coalition_info_tests.c | 60 T_EXPECT_GT(coalusage[0].cpu_instructions, UINT64_C(0), 62 T_EXPECT_GT(coalusage[0].cpu_cycles, UINT64_C(0), 102 T_EXPECT_GT(coalusage.cpu_time, UINT64_C(0), "CPU time is non-zero");
|
| H A D | thread_selfcounts_tests.c | 21 T_EXPECT_GT(before->tcpi_instructions, UINT64_C(0), in _check_cpi() 24 T_EXPECT_GT(before->tcpi_cycles, UINT64_C(0), "%s: cycles non-zero", in _check_cpi() 79 T_EXPECT_GT(after->ttec_energy_nj, UINT64_C(0), in _check_usage()
|
| /xnu-8796.141.3/osfmk/x86_64/ |
| H A D | monotonic_x86_64.c | 64 #define PMC_FIXED_RD(CTR) ((UINT64_C(1) << 30) | (CTR)) 172 #define GLOBAL_CTRL_FIXED_EN_3FIXED (((UINT64_C(1) << 3) - 1) << 32) 173 #define GLOBAL_CTRL_FIXED_EN_4FIXED (((UINT64_C(1) << 4) - 1) << 32) 180 #define CTR_MAX ((UINT64_C(1) << 48) - 1) 181 #define CTR_FIX_POS(CTR) ((UINT64_C(1) << (CTR)) << 32) 306 if (status & ((UINT64_C(1) << 4) - 1)) { in mt_check_for_pmi()
|
| H A D | monotonic.h | 41 #define MT_CORE_MAXVAL ((UINT64_C(1) << 48) - 1)
|
| /xnu-8796.141.3/osfmk/arm64/ |
| H A D | monotonic_arm64.c | 98 #define CTR_MAX ((UINT64_C(1) << PMC_WIDTH) - 1) 126 #define PMCR0_CTR_EN(CTR) (UINT64_C(1) << CTR_POS(CTR)) 146 #define PMCR0_PMI_EN(CTR) (UINT64_C(1) << (PMCR0_PMI_SHIFT + CTR_POS(CTR))) 150 #define PMCR0_DISCNT_EN (UINT64_C(1) << 20) 152 #define PMCR0_WFRFE_EN (UINT64_C(1) << 22) 154 #define PMCR0_L2CGLOBAL_EN (UINT64_C(1) << 23) 156 #define PMCR0_USEREN_EN (UINT64_C(1) << 30) 160 #define PMCR0_PCC_INIT (UINT64_C(0x7) << 24) 170 #define PMCR1_EL0A32_EN(CTR) (UINT64_C(1) << (0 + CTR_POS(CTR))) 171 #define PMCR1_EL0A64_EN(CTR) (UINT64_C(1) << (8 + CTR_POS(CTR))) [all …]
|
| H A D | machine_kpc.h | 47 #define KPC_ARM64_COUNTER_MASK ((UINT64_C(1) << KPC_ARM64_COUNTER_WIDTH) - 1) 48 #define KPC_ARM64_COUNTER_OVF_MASK (UINT64_C(1) << KPC_ARM64_COUNTER_OVF_BIT)
|
| H A D | monotonic.h | 59 #define MT_CORE_MAXVAL ((UINT64_C(1) << 48) - 1) 72 #define PMCR0_PMAI (UINT64_C(1) << 11)
|
| /xnu-8796.141.3/tests/ |
| H A D | monotonic_uncore.c | 177 (void)uncore_add(fd, REF_TIMEBASE_EVENT, UINT64_C(1) << ctr, ENOSPC); 213 (void)uncore_add(fd, REF_TIMEBASE_EVENT, UINT64_C(1), 0); 214 (void)uncore_add(fd, REF_TIMEBASE_EVENT, UINT64_C(1), ENOSPC); 220 (void)uncore_add(fd, REF_TIMEBASE_EVENT, UINT64_C(1), 0); 282 ctr_mask = (UINT64_C(1) << nctrs) - 1; 395 ctr_mask = (UINT64_C(1) << nctrs) - 1;
|
| H A D | monotonic_core.c | 57 T_EXPECT_GT(counts[0].tcpi_instructions, UINT64_C(0), "non-zero instructions"); in check_fixed_counts() 59 T_EXPECT_GT(counts[0].tcpi_cycles, UINT64_C(0), "non-zero cycles"); in check_fixed_counts()
|
| H A D | proc_info.c | 1936 #define EXPECTED_ID UINT64_C(0x1122334455667788) 1937 #define EXPECTED_UDATA UINT64_C(0x99aabbccddeeff00)
|
| H A D | stackshot_tests.m | 2390 T_QUIET; T_ASSERT_GT(cseg_expected_threadid, UINT64_C(0), "compressor segment thread is present"); 2468 T_ASSERT_EQ(compression_type, UINT64_C(1), "zlib compression is used"); 2469 T_ASSERT_GT(totalout, UINT64_C(0), "successfully gathered how long the compressed buffer is"); 2470 …T_ASSERT_GT(totalin, UINT64_C(0), "successfully gathered how long the uncompressed buffer will be …
|
| /xnu-8796.141.3/EXTERNAL_HEADERS/ |
| H A D | stdint.h | 91 #define UINT64_C(v) (v ## ULL) macro
|
| /xnu-8796.141.3/tests/ktrace/ |
| H A D | kperf_backtracing_tests.c | 332 T_QUIET; T_ASSERT_NE(tid, UINT64_C(0), in create_backtrace_thread() 574 T_EXPECT_EQ(tp->arg2, UINT64_C(256),
|
| H A D | kpc_tests.c | 332 T_EXPECT_GT(ctrs_a[i], UINT64_C(0), "counter %d is non-zero", i); 345 T_EXPECT_GT(ctrs_b[i], UINT64_C(0), "counter %d is non-zero", i);
|
| H A D | kdebug_tests.c | 52 T_EXPECT_EQ(tp->arg1, UINT64_C(0xfeedfacefeedface), 55 T_EXPECT_EQ(tp->arg1, UINT64_C(0xfeedface), 1191 #define ROUND_TRIP_PERIOD UINT64_C(10 * 1000) 1192 #define ROUND_TRIPS_THRESHOLD UINT64_C(25)
|
| H A D | kperf_tests.c | 1140 T_EXPECT_EQ(nzeroes, UINT64_C(0),
|
| /xnu-8796.141.3/EXTERNAL_HEADERS/corecrypto/ |
| H A D | ccn.h | 28 #define CC_UNIT_C(x) UINT64_C(x)
|