1. A method of predicting direction of branches, said method comprising: obtaining, by a processor of a computing environment, a branch instruction for which a direction of a branch of the branch instruction is to be predicted; and predicting, by the processor, the direction of the branch, the predicting employing a correlating value, an address of the branch instruction, and a value representing a number of selected branches between a correlating event and the branch instruction to select information to be used in the predicting, the correlating event being an event different from the branch instruction and configured to affect a direction of a flow of code that includes the correlating event, and the correlating value being based on an occurrence of the correlating event used to obtain the branch instruction, wherein the employing comprises using the correlating value, the address of the branch instruction, and the value representing the number of selected branches to generate an index, the index to be used to index into a structure to select an entry including the information to be used in the predicting.