Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
submodule(utility): introduce XSPerfLevel for performance counter (#4238
) This change introduce XSPerfLevel, including `VERBOSE`/`NORMAL`/`CRITICAL`. Only counters with level greater or equal than threhold will be instantiated, which will reduce utilization and compile time on Pallaium. PerfLevel therhold can be set in command line, `VERBOSE` by default to apply all counters. An example usage as follows: SIM_ARGS="--perf-level CRITICAL" or PLDM_ARGS="--perf-level CRITICAL" PLDM=1 PerfLevel param is also `VERBOSE` by default, which means all counters will be ignored now if threhold greater than that. User can explicitly set params to keep some important counters instantiated, as follows: XSPerfAccumulate(xx, yy, perfLevel = XSPerfLevel.CRITICAL)
- Loading branch information