Take stock of (something)

To carefully study a situation or a number of possibilities or opportunities.

After taking stock of the situation the man decided to quit his company.