kDefs.h: Added risc-v to the K_ARCH_XXX defines.
[kstuff-mirror.git] / kProfiler2 / kPrfReader.h
blob0cb168368708968e84ebfe45df12ad20f07bb193
3 #include <string>
5 typedef
7 /**
8 * Debug info cache.
10 * An objects of this class acts a frontend to the low-level
11 * debug info readers.
13 class kPrfDebugInfoCache
15 public:
16 kPrfDebugInfoCache(unsigned cMaxModules = ~0U);
17 ~kPrfDebugInfoCache();
19 /** Resolves a symbol in a specific module. */
20 int findSymbol();
21 int findLine();
24 /**
25 * Internal class which does the reader job behind the API / commandline tool.
27 class kPrfReader
29 public:
30 kPrfReader(const char *pszDataSetPath);
31 ~kPrfReader();
33 /** Analyses the data set. */
34 int analyse(int fSomeOptionsIHaventFiguredOutYet);
36 /** Writes the analysis report as HTML. */
37 int reportAsHtml(FILE *pOut);
39 /** Dumps the data set in a raw fashion to the specified file stream. */
40 int dump(FILE *pOut);
42 protected:
43 /** Pointer to the debug info cache object. */
44 kPrfDebugInfoCache *pDbgCache;