Home
last modified time | relevance | path

Searched refs:WORKING_LIMIT (Results 1 – 10 of 10) sorted by relevance

/xnu-10063.101.15/tests/vm/
H A Ddiag_threshold_test_watermark_and_threshold_same.c61 diag_mem_set_jetsam_watermark(WORKING_LIMIT); in diag_threshold_test_watermark_and_threshold_same()
62 bool retValue = set_memory_diagnostics_threshold_limits(WORKING_LIMIT, true); in diag_threshold_test_watermark_and_threshold_same()
65 T_ASSERT_EQ(WORKING_LIMIT, limit_param, "Adjusted threshold is correct"); in diag_threshold_test_watermark_and_threshold_same()
67 retValue = set_memory_diagnostics_threshold_limits(WORKING_LIMIT << 1, true); in diag_threshold_test_watermark_and_threshold_same()
71 T_ASSERT_EQ(WORKING_LIMIT << 1, limit_param, "Adjusted threshold is correct"); in diag_threshold_test_watermark_and_threshold_same()
73 retValue = set_memory_diagnostics_threshold_limits(WORKING_LIMIT, true); in diag_threshold_test_watermark_and_threshold_same()
74 diag_mem_set_jetsam_watermark(WORKING_LIMIT); in diag_threshold_test_watermark_and_threshold_same()
77 T_ASSERT_EQ(WORKING_LIMIT, limit_param, "Adjusted threshold is correct"); in diag_threshold_test_watermark_and_threshold_same()
79 retValue = set_memory_diagnostics_threshold_limits(WORKING_LIMIT << 1, true); in diag_threshold_test_watermark_and_threshold_same()
83 T_ASSERT_EQ(WORKING_LIMIT << 1, limit_param, "Adjusted threshold is correct"); in diag_threshold_test_watermark_and_threshold_same()
[all …]
H A Ddiag_threshold_test_limit_and_threshold_same.c62 diag_mem_set_jetsam_limit(WORKING_LIMIT); in diag_threshold_test_limit_and_threshold_same()
63 bool retValue = set_memory_diagnostics_threshold_limits(WORKING_LIMIT, true); in diag_threshold_test_limit_and_threshold_same()
66 T_ASSERT_EQ(WORKING_LIMIT, limit_param, "Adjusted threshold is correct"); in diag_threshold_test_limit_and_threshold_same()
68 retValue = set_memory_diagnostics_threshold_limits(WORKING_LIMIT << 1, true); in diag_threshold_test_limit_and_threshold_same()
72 T_ASSERT_EQ(WORKING_LIMIT << 1, limit_param, "Adjusted threshold is correct"); in diag_threshold_test_limit_and_threshold_same()
74 retValue = set_memory_diagnostics_threshold_limits(WORKING_LIMIT, true); in diag_threshold_test_limit_and_threshold_same()
76 diag_mem_set_jetsam_limit(WORKING_LIMIT); in diag_threshold_test_limit_and_threshold_same()
79 T_ASSERT_EQ(WORKING_LIMIT, limit_param, "Adjusted threshold is correct"); in diag_threshold_test_limit_and_threshold_same()
81 retValue = set_memory_diagnostics_threshold_limits(WORKING_LIMIT << 1, true); in diag_threshold_test_limit_and_threshold_same()
85 T_ASSERT_EQ(WORKING_LIMIT << 1, limit_param, "Adjusted threshold is correct"); in diag_threshold_test_limit_and_threshold_same()
[all …]
H A Ddiag_threshold_test_no_limit_cross.c38 (void)set_memory_diagnostics_threshold_limits(WORKING_LIMIT, true); in no_limit_cross_test_execution()
39 diag_mem_threshold_waste_memory(WORKING_LIMIT - (1024 * 1024)); in no_limit_cross_test_execution()
H A Ddiag_threshold_test_enable_disable_threshold.c37 (void)set_memory_diagnostics_threshold_limits(WORKING_LIMIT, true); in enable_disable_threshold_test_execution()
39 diag_mem_threshold_waste_memory(WORKING_LIMIT - (1024 * 1024)); in enable_disable_threshold_test_execution()
H A Ddiag_threshold_test_double_limit.c32 (void)set_memory_diagnostics_threshold_limits(WORKING_LIMIT, true); in double_limit_test_execution()
43 (void)set_memory_diagnostics_threshold_limits(WORKING_LIMIT, true); in double_limit_test_execution()
H A Ddiag_threshold_test.h34 #define WORKING_LIMIT (25*1024*1024) macro
37 #define HIGH_JETSAM_LIMIT (WORKING_LIMIT+(1*(1024*1024)))
38 #define TEST_LIMIT (WORKING_LIMIT+(2*(1024*1024)))
H A Ddiag_threshold_test_with_high_watermark.c34 diag_mem_set_jetsam_watermark(WORKING_LIMIT); in diag_threshold_test_with_high_watermark()
50 diag_mem_threshold_waste_memory(2 * WORKING_LIMIT); in diag_threshold_test_with_high_watermark()
H A Ddiag_threshold_test_with_low_watermark.c33 (void)set_memory_diagnostics_threshold_limits(WORKING_LIMIT, true); in diag_threshold_test_with_low_watermark()
50 diag_mem_threshold_waste_memory(2 * WORKING_LIMIT); in diag_threshold_test_with_low_watermark()
H A Ddiag_threshold_test_simple.c34 (void)set_memory_diagnostics_threshold_limits(WORKING_LIMIT, true); in simple_test_execution()
H A Ddiag_threshold_test_no_retrigger.c34 (void)set_memory_diagnostics_threshold_limits(WORKING_LIMIT, true); in diag_threshold_test_no_retrigger_execution()