Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf_cnt: simplify the difference calculation for cycles
Previously, due to cycle get max is UINT32_MAX, so check and wrap cycles based on INT32_MAX, however, unsigned int can wrap automatically with minus, remove the check and make perf difference calculation more simple. Signed-off-by: Baofeng Tian <baofeng.tian@intel.com>
- Loading branch information