| Line |  | 
|---|
| 1 |  | 
|---|
| 2 |  | 
|---|
| 3 | #include <string> | 
|---|
| 4 |  | 
|---|
| 5 | typedef | 
|---|
| 6 |  | 
|---|
| 7 | /** | 
|---|
| 8 | * Debug info cache. | 
|---|
| 9 | * | 
|---|
| 10 | * An objects of this class acts a frontend to the low-level | 
|---|
| 11 | * debug info readers. | 
|---|
| 12 | */ | 
|---|
| 13 | class kPrfDebugInfoCache | 
|---|
| 14 | { | 
|---|
| 15 | public: | 
|---|
| 16 | kPrfDebugInfoCache(unsigned cMaxModules = ~0U); | 
|---|
| 17 | ~kPrfDebugInfoCache(); | 
|---|
| 18 |  | 
|---|
| 19 | /** Resolves a symbol in a specific module. */ | 
|---|
| 20 | int findSymbol(); | 
|---|
| 21 | int findLine(); | 
|---|
| 22 | }; | 
|---|
| 23 |  | 
|---|
| 24 | /** | 
|---|
| 25 | * Internal class which does the reader job behind the API / commandline tool. | 
|---|
| 26 | */ | 
|---|
| 27 | class kPrfReader | 
|---|
| 28 | { | 
|---|
| 29 | public: | 
|---|
| 30 | kPrfReader(const char *pszDataSetPath); | 
|---|
| 31 | ~kPrfReader(); | 
|---|
| 32 |  | 
|---|
| 33 | /** Analyses the data set. */ | 
|---|
| 34 | int analyse(int fSomeOptionsIHaventFiguredOutYet); | 
|---|
| 35 |  | 
|---|
| 36 | /** Writes the analysis report as HTML. */ | 
|---|
| 37 | int reportAsHtml(FILE *pOut); | 
|---|
| 38 |  | 
|---|
| 39 | /** Dumps the data set in a raw fashion to the specified file stream. */ | 
|---|
| 40 | int dump(FILE *pOut); | 
|---|
| 41 |  | 
|---|
| 42 | protected: | 
|---|
| 43 | /** Pointer to the debug info cache object. */ | 
|---|
| 44 | kPrfDebugInfoCache *pDbgCache; | 
|---|
| 45 | }; | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.