Module capsules_extra::cycle_count
source · Expand description
Provides a cycle counter interface for userspace.
§Usage
This capsule is intended for debug purposes. However, to ensure that use by multiple apps does not lead to innacurate results, basic virtualization is implemented: only the first app to start the cycle counter can start or stop or reset the counter. Other apps are restricted to reading the counter (which can be useful for debugging the time required by cross-process routines).