Home
last modified time | relevance | path

Searched refs:UINT64_C (Results 1 – 18 of 18) sorted by relevance

/xnu-8019.80.24/osfmk/arm64/
H A Dmonotonic_arm64.c98 #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 Dmachine_kpc.h47 #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 Dmonotonic.h56 #define MT_CORE_MAXVAL ((UINT64_C(1) << 48) - 1)
69 #define PMCR0_PMAI (UINT64_C(1) << 11)
/xnu-8019.80.24/osfmk/x86_64/
H A Dmonotonic_x86_64.c64 #define PMC_FIXED_RD(CTR) ((UINT64_C(1) << 30) | (CTR))
177 #define GLOBAL_CTRL_FIXED_EN_3FIXED (((UINT64_C(1) << 3) - 1) << 32)
178 #define GLOBAL_CTRL_FIXED_EN_4FIXED (((UINT64_C(1) << 4) - 1) << 32)
185 #define CTR_MAX ((UINT64_C(1) << 48) - 1)
186 #define CTR_FIX_POS(CTR) ((UINT64_C(1) << (CTR)) << 32)
311 if (status & ((UINT64_C(1) << 4) - 1)) { in mt_check_for_pmi()
H A Dmonotonic.h40 #define MT_CORE_MAXVAL ((UINT64_C(1) << 48) - 1)
/xnu-8019.80.24/tests/
H A Dcoalition_info_tests.c58 T_EXPECT_GT(coalusage[0].cpu_instructions, UINT64_C(0),
60 T_EXPECT_GT(coalusage[0].cpu_cycles, UINT64_C(0),
96 T_EXPECT_GT(coalusage.cpu_time, UINT64_C(0), "CPU time is non-zero");
H A Dmonotonic_uncore.c182 (void)uncore_add(fd, REF_TIMEBASE_EVENT, UINT64_C(1) << ctr, ENOSPC);
218 (void)uncore_add(fd, REF_TIMEBASE_EVENT, UINT64_C(1), 0);
219 (void)uncore_add(fd, REF_TIMEBASE_EVENT, UINT64_C(1), ENOSPC);
225 (void)uncore_add(fd, REF_TIMEBASE_EVENT, UINT64_C(1), 0);
285 ctr_mask = (UINT64_C(1) << nctrs) - 1;
392 ctr_mask = (UINT64_C(1) << nctrs) - 1;
H A Drusage_tests.c21 UINT64_C(0), "kernel CPU time should be non-zero");
H A Dmonotonic_core.c59 T_EXPECT_GT(counts[0][0], UINT64_C(0), "instructions are larger than 0"); in check_fixed_counts()
61 T_EXPECT_GT(counts[0][1], UINT64_C(0), "cycles are larger than 0"); in check_fixed_counts()
H A Dstackshot_tests.m2209 T_QUIET; T_ASSERT_GT(cseg_expected_threadid, UINT64_C(0), "compressor segment thread is present");
2283 T_ASSERT_EQ(compression_type, UINT64_C(1), "zlib compression is used");
2284 T_ASSERT_GT(totalout, UINT64_C(0), "successfully gathered how long the compressed buffer is");
2285 …T_ASSERT_GT(totalin, UINT64_C(0), "successfully gathered how long the uncompressed buffer will be …
H A Dproc_info.c1940 #define EXPECTED_ID UINT64_C(0x1122334455667788)
1941 #define EXPECTED_UDATA UINT64_C(0x99aabbccddeeff00)
/xnu-8019.80.24/EXTERNAL_HEADERS/
H A Dstdint.h91 #define UINT64_C(v) (v ## ULL) macro
H A DAvailabilityInternal.h23420 …__SWIFT_COMPILER_VERSION >= ((X * UINT64_C(1000) * 1000 * 1000) + (Z * 1000 * 1000) + (a * 1000) +…
/xnu-8019.80.24/tests/ktrace/
H A Dkperf_backtracing_tests.c339 T_QUIET; T_ASSERT_NE(tid, UINT64_C(0), in create_backtrace_thread()
581 T_EXPECT_EQ(tp->arg2, UINT64_C(256),
H A Dkdebug_tests.c52 T_EXPECT_EQ(tp->arg1, UINT64_C(0xfeedfacefeedface),
55 T_EXPECT_EQ(tp->arg1, UINT64_C(0xfeedface),
1021 #define ROUND_TRIP_PERIOD UINT64_C(10 * 1000)
1022 #define ROUND_TRIPS_THRESHOLD UINT64_C(25)
H A Dkpc_tests.c327 T_EXPECT_GT(ctrs_a[i], UINT64_C(0), "counter %d is non-zero", i);
340 T_EXPECT_GT(ctrs_b[i], UINT64_C(0), "counter %d is non-zero", i);
H A Dkperf_tests.c1131 T_EXPECT_EQ(nzeroes, UINT64_C(0),
/xnu-8019.80.24/EXTERNAL_HEADERS/corecrypto/
H A Dccn.h26 #define CC_UNIT_C(x) UINT64_C(x)