Jwang add resource measurements

.. and here, we don't need `.toString()`.