Searched refs:number_of_methods (Results 1 – 3 of 3) sorted by relevance
/art/profman/ |
D | profile_assistant.cc | 46 uint32_t number_of_methods = info.GetNumberOfMethods(); in ProcessProfilesInternal() local 63 (kMinNewMethodsPercentChangeForCompilation * number_of_methods) / 100, in ProcessProfilesInternal() 69 if (((info.GetNumberOfMethods() - number_of_methods) < min_change_in_methods_for_compilation) && in ProcessProfilesInternal()
|
D | profile_assistant_test.cc | 48 uint16_t number_of_methods, in SetupProfile() argument 62 number_of_methods, in SetupProfile() 74 uint16_t number_of_methods, in SetupProfile() argument 82 for (uint16_t i = start_method_index; i < start_method_index + number_of_methods; i++) { in SetupProfile() 116 uint16_t number_of_methods, in SetupBasicProfile() argument 124 info->AddMethodIndex(Hotness::kFlagHot, dex_location, checksum, idx, number_of_methods); in SetupBasicProfile() 127 info->AddMethodIndex(Hotness::kFlagStartup, dex_location, checksum, idx, number_of_methods); in SetupBasicProfile() 134 number_of_methods); in SetupBasicProfile()
|
/art/runtime/jit/ |
D | profile_compilation_info.cc | 1825 uint16_t number_of_methods = max_method * method_percentage / 100; in GenerateTestProfile() local 1839 for (uint16_t m = 0; m < number_of_methods; m++) { in GenerateTestProfile() 1841 if (m < (number_of_methods / kFavorSplit)) { in GenerateTestProfile() 1897 uint32_t number_of_methods = dex_file->NumMethodIds(); in GenerateTestProfile() local 1898 uint32_t methods_required_in_profile = (number_of_methods * method_percentage) / 100; in GenerateTestProfile() 1899 uint32_t method_start_index = rand() % number_of_methods; in GenerateTestProfile() 1900 for (uint32_t i = 0; i < number_of_methods && methods_required_in_profile; ++i) { in GenerateTestProfile() 1901 if (number_of_methods - i == methods_required_in_profile || in GenerateTestProfile() 1902 std::rand() % (number_of_methods - i - methods_required_in_profile) == 0) { in GenerateTestProfile() 1903 uint32_t method_index = (method_start_index + i) % number_of_methods; in GenerateTestProfile()
|