I'm pretty sure it takes into account any caching. You know, how most modern operating systems more efficiently use RAM instead of it being left empty doing nothing.