Home
last modified time | relevance | path

Searched refs:number_of_classes (Results 1 – 3 of 3) sorted by relevance

/art/profman/
Dprofile_assistant.cc47 uint32_t number_of_classes = info.GetNumberOfResolvedClasses(); in ProcessProfilesInternal() local
66 (kMinNewClassesPercentChangeForCompilation * number_of_classes) / 100, in ProcessProfilesInternal()
70 ((info.GetNumberOfResolvedClasses() - number_of_classes) in ProcessProfilesInternal()
Dprofile_assistant_test.cc49 uint16_t number_of_classes, in SetupProfile() argument
63 number_of_classes, in SetupProfile()
75 uint16_t number_of_classes, in SetupProfile() argument
102 for (uint16_t i = 0; i < number_of_classes; i++) { in SetupProfile()
/art/runtime/jit/
Dprofile_compilation_info.cc1826 uint16_t number_of_classes = max_classes * class_percentage / 100; in GenerateTestProfile() local
1854 for (uint16_t c = 0; c < number_of_classes; c++) { in GenerateTestProfile()
1856 if (c < (number_of_classes / kFavorSplit)) { in GenerateTestProfile()
1882 uint32_t number_of_classes = dex_file->NumClassDefs(); in GenerateTestProfile() local
1883 uint32_t classes_required_in_profile = (number_of_classes * class_percentage) / 100; in GenerateTestProfile()
1884 uint32_t class_start_index = rand() % number_of_classes; in GenerateTestProfile()
1885 for (uint32_t i = 0; i < number_of_classes && classes_required_in_profile; ++i) { in GenerateTestProfile()
1886 if (number_of_classes - i == classes_required_in_profile || in GenerateTestProfile()
1887 std::rand() % (number_of_classes - i - classes_required_in_profile) == 0) { in GenerateTestProfile()
1888 uint32_t class_index = (i + class_start_index) % number_of_classes; in GenerateTestProfile()