A simple measurement can help determine whether you are at risk of heart failure, new research suggests.