diff options
author | Chris Johns <chrisj@rtems.org> | 2014-05-09 21:50:37 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2014-06-18 16:48:08 +1200 |
commit | 100f517ab37265acdf067e36b6860020ec8b2184 (patch) | |
tree | 2316c8b888e11dcbcfbfc66a0c1e31991ea20656 /tester/covoar/CoverageReaderTSIM.h | |
parent | 4.11: Add ntp patch. (diff) | |
download | rtems-tools-100f517ab37265acdf067e36b6860020ec8b2184.tar.bz2 |
covoar: Merger the covoar source from rtems-testing.git.
Use waf to build covoar.
Diffstat (limited to 'tester/covoar/CoverageReaderTSIM.h')
-rw-r--r-- | tester/covoar/CoverageReaderTSIM.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/tester/covoar/CoverageReaderTSIM.h b/tester/covoar/CoverageReaderTSIM.h new file mode 100644 index 0000000..4acb889 --- /dev/null +++ b/tester/covoar/CoverageReaderTSIM.h @@ -0,0 +1,45 @@ +/*! @file CoverageReaderTSIM.h + * @brief CoverageReaderTSIM Specification + * + * This file contains the specification of the CoverageReaderTSIM class. + */ + +#ifndef __COVERAGE_READER_TSIM_H__ +#define __COVERAGE_READER_TSIM_H__ + +#include "CoverageReaderBase.h" +#include "ExecutableInfo.h" + +namespace Coverage { + + /*! @class CoverageReaderTSIM + * + * This class implements the functionality which reads a coverage map + * file produced by TSIM. Since the SPARC has 32-bit instructions, + * TSIM produces a file with an integer for each 32-bit word. The + * integer will have the least significant bit if the address + * was executed. +@verbatim +40000000 : 1 0 0 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 0 0 0 0 0 0 0 0 0 0 0 1 +40000080 : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 +@endverbatim + */ + class CoverageReaderTSIM : public CoverageReaderBase { + + public: + + /* Inherit documentation from base class. */ + CoverageReaderTSIM(); + + /* Inherit documentation from base class. */ + virtual ~CoverageReaderTSIM(); + + /* Inherit documentation from base class. */ + void processFile( + const char* const file, + ExecutableInfo* const executableInformation + ); + }; + +} +#endif |