5.8 GenericCounter

GenericCounter is an example MTI plug-in that prints to stdout the number of occurrences of a specific trace source, at the end of the simulation.

The source code for this plug-in is provided in %PVLIB_HOME%\examples\MTI\GenericCounter\.


This plug-in only counts a single trace source. To count multiple trace sources, load the plug-in multiple times.
This section contains the following subsection:
Non-ConfidentialPDF file icon PDF version100964_1110_00_en
Copyright © 2014–2020 Arm Limited or its affiliates. All rights reserved.