Lines Matching refs:ThreadStatus

4074 void VerifyOperationCount(Env* env, ThreadStatus::OperationType op_type,  in VerifyOperationCount()
4077 std::vector<ThreadStatus> thread_list; in VerifyOperationCount()
4094 std::vector<ThreadStatus> thread_list; in TEST_F()
4109 unsigned int thread_type_counts[ThreadStatus::NUM_THREAD_TYPES]; in TEST_F()
4120 ASSERT_LT(thread.thread_type, ThreadStatus::NUM_THREAD_TYPES); in TEST_F()
4123 if (thread_type_counts[ThreadStatus::HIGH_PRIORITY] == in TEST_F()
4125 thread_type_counts[ThreadStatus::LOW_PRIORITY] == in TEST_F()
4127 thread_type_counts[ThreadStatus::BOTTOM_PRIORITY] == in TEST_F()
4133 ASSERT_EQ(thread_type_counts[ThreadStatus::HIGH_PRIORITY], in TEST_F()
4136 ASSERT_EQ(thread_type_counts[ThreadStatus::LOW_PRIORITY], in TEST_F()
4139 ASSERT_EQ(thread_type_counts[ThreadStatus::BOTTOM_PRIORITY], in TEST_F()
4184 VerifyOperationCount(env_, ThreadStatus::OP_FLUSH, 0); in TEST_F()
4188 VerifyOperationCount(env_, ThreadStatus::OP_FLUSH, 0); in TEST_F()
4200 VerifyOperationCount(env_, ThreadStatus::OP_FLUSH, 1); in TEST_F()
4263 VerifyOperationCount(env_, ThreadStatus::OP_COMPACTION, 1); in TEST_P()
4266 VerifyOperationCount(env_, ThreadStatus::OP_COMPACTION, 0); in TEST_P()
4371 std::vector<ThreadStatus> thread_list; in TEST_P()
4389 int operation_count[ThreadStatus::NUM_OP_TYPES] = {0}; in TEST_P()
4401 if (operation_count[ThreadStatus::OP_FLUSH] > 1 && in TEST_P()
4402 operation_count[ThreadStatus::OP_COMPACTION] > in TEST_P()
4412 ASSERT_GE(operation_count[ThreadStatus::OP_COMPACTION], 1); in TEST_P()
4417 for (int i = 0; i < ThreadStatus::NUM_OP_TYPES; ++i) { in TEST_P()
4424 ASSERT_EQ(operation_count[ThreadStatus::OP_COMPACTION], 0); in TEST_P()
4460 std::vector<ThreadStatus> thread_list; in TEST_P()
4476 int operation_count[ThreadStatus::NUM_OP_TYPES] = {0}; in TEST_P()
4488 if (operation_count[ThreadStatus::OP_FLUSH] > 1 && in TEST_P()
4489 operation_count[ThreadStatus::OP_COMPACTION] > in TEST_P()
4498 ASSERT_GE(operation_count[ThreadStatus::OP_COMPACTION], 1); in TEST_P()
4504 for (int i = 0; i < ThreadStatus::NUM_OP_TYPES; ++i) { in TEST_P()
4511 ASSERT_EQ(operation_count[ThreadStatus::OP_COMPACTION], 0); in TEST_P()