Can't understand how covergroup sample works

If I only sample cover_bus.sample(); and then print b then I get b=x