Single-shot dynamics of spin-orbit torque and spin transfer torque switching in
3-terminal magnetic tunnel junctions