source: rtems-tools/tester/covoar/CoverageReaderTSIM.h @ f9a4b2c

5
Last change on this file since f9a4b2c was 100f517, checked in by Chris Johns <chrisj@…>, on 05/09/14 at 11:50:37

covoar: Merger the covoar source from rtems-testing.git.

Use waf to build covoar.

  • Property mode set to 100644
File size: 1.2 KB
Line 
1/*! @file CoverageReaderTSIM.h
2 *  @brief CoverageReaderTSIM Specification
3 *
4 *  This file contains the specification of the CoverageReaderTSIM class.
5 */
6
7#ifndef __COVERAGE_READER_TSIM_H__
8#define __COVERAGE_READER_TSIM_H__
9
10#include "CoverageReaderBase.h"
11#include "ExecutableInfo.h"
12
13namespace Coverage {
14
15  /*! @class CoverageReaderTSIM
16   *
17   *  This class implements the functionality which reads a coverage map
18   *  file produced by TSIM.  Since the SPARC has 32-bit instructions,
19   *  TSIM produces a file with an integer for each 32-bit word.  The
20   *  integer will have the least significant bit if the address
21   *  was executed.
22@verbatim
2340000000 : 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
2440000080 : 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
25@endverbatim
26   */
27  class CoverageReaderTSIM : public CoverageReaderBase {
28
29  public:
30
31    /* Inherit documentation from base class. */
32    CoverageReaderTSIM();
33
34    /* Inherit documentation from base class. */
35    virtual ~CoverageReaderTSIM();
36
37    /* Inherit documentation from base class. */
38    void processFile(
39      const char* const     file,
40      ExecutableInfo* const executableInformation
41    );
42  };
43
44}
45#endif
Note: See TracBrowser for help on using the repository browser.