Searched refs:has_hw_counter (Results 1 – 1 of 1) sorted by relevance
322 static int has_hw_counter = -1; in HasHardwareCounter() local323 if (has_hw_counter == -1) { in HasHardwareCounter()325 has_hw_counter = InCloudAndroid() ? 0 : 1; in HasHardwareCounter()330 has_hw_counter &= HasNonZeroInstructionEventCount() ? 1 : 0; in HasHardwareCounter()333 return has_hw_counter == 1; in HasHardwareCounter()