VirtualBox

source: kStuff/trunk/kProfiler2/kPrfReader.h

Last change on this file was 2, checked in by bird, 17 years ago

Imported http://svn.netlabs.org/repos/libc/trunk/kStuff, revision 3612.

  • Property svn:keywords set to Id Revision
File size: 957 bytes
Line 
1
2
3#include <string>
4
5typedef
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 */
13class kPrfDebugInfoCache
14{
15public:
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 */
27class kPrfReader
28{
29public:
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
42protected:
43 /** Pointer to the debug info cache object. */
44 kPrfDebugInfoCache *pDbgCache;
45};
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette