1. At least one non-transitory computer-readable medium having computer-readable code embodied therein, the computer-readable code comprising instructions configured to provide first and second logic unit to a computing device; wherein the first logic unit, on execution of the instructions by the computing device, associates one or more virtual central processing units operated by one or more physical processing units of the computing device with a first virtual machine of a plurality of virtual machines operated by the computing device, and collects data about resources used by the one or more physical processing units to operate the one or more virtual central processing units associated with the first virtual machine, wherein the first logic unit performs the association and the collection independent of a virtual machine monitor of the computing device; and the second logic unit, on execution of the instructions by the computing device, directs the first logic unit to collect the data about the resources used by the one or more physical processing units to operate the one or more virtual central processing units associated with the first virtual machine, and determines resource-usage by the first virtual machine based on the collected data, wherein the second logic unit performs the direction and determination independent of a virtual machine monitor of the computing device.