code: def get_last_branch_location(cls):
          
          LastBranchFromIP = cls.read_msr(DebugRegister.LastBranchFromIP)
          LastBranchToIP   = cls.read_msr(DebugRegister.LastBranchToIP)
          return ( LastBranchFromIP, LastBranchToIP )
docs: Returns the source and destination addresses of the last taken branch.
  
          @rtype: tuple( int, int )
          @return: Source and destination addresses of the last taken branch.
  
          @raise WindowsError:
              Raises an exception on error.
  
          @raise NotImplementedError:
              Current architecture is not C{i386} or C{amd64}.
  
          @warning:
              This method uses the processor's machine specific registers (MSR).
              It could potentially brick your machine.
              It works on my machine, but your mileage may vary.
  
          @note:
              It doesn't seem to work in VMWare or VirtualBox machines.
              Maybe it fails in other virtualization/emulation environments,
              no extensive testing was made so far.