Searched refs:WORKING_LIMIT (Results 1 – 10 of 10) sorted by relevance
| /xnu-10063.101.15/tests/vm/ |
| H A D | diag_threshold_test_watermark_and_threshold_same.c | 61 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 D | diag_threshold_test_limit_and_threshold_same.c | 62 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 D | diag_threshold_test_no_limit_cross.c | 38 (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 D | diag_threshold_test_enable_disable_threshold.c | 37 (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 D | diag_threshold_test_double_limit.c | 32 (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 D | diag_threshold_test.h | 34 #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 D | diag_threshold_test_with_high_watermark.c | 34 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 D | diag_threshold_test_with_low_watermark.c | 33 (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 D | diag_threshold_test_simple.c | 34 (void)set_memory_diagnostics_threshold_limits(WORKING_LIMIT, true); in simple_test_execution()
|
| H A D | diag_threshold_test_no_retrigger.c | 34 (void)set_memory_diagnostics_threshold_limits(WORKING_LIMIT, true); in diag_threshold_test_no_retrigger_execution()
|