Logo Search packages:      
Sourcecode: virtualbox-ose version File versions  Download package

Classes | Defines | Typedefs | Functions

kPrf2Read.cpp File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <k/kDbg.h>
#include "prfcore.h.h"
#include "prfreader.cpp.h"
Include dependency graph for kPrf2Read.cpp:

Go to the source code of this file.

Classes

union  KPRFHDR

Defines

#define KPRF_ALIGN(n, align)   ( ((n) + ( (align) - 1)) & ~((align) - 1) )
#define KPRF_BITS   32
#define KPRF_BITS   64
#define KPRF_FMT_I64   "lld"
#define KPRF_FMT_U64   "llu"
#define KPRF_FMT_UPTR   "#010x"
#define KPRF_FMT_UPTR   "#018llx"
#define KPRF_FMT_X64   "llx"
#define KPRF_NAME(Suffix)   KPrf32##Suffix
#define KPRF_NAME(Suffix)   KPrf64##Suffix
#define KPRF_OFF2PTR(TypePrefix, TypeName, off, pHdr)   ( (KPRF_TYPE(TypePrefix, TypeName)) ((off) + (KUPTR)pHdr) )
#define KPRF_OFFSETOF(kPrfType, Member)   ( (KU32)(KUPTR)&((KPRF_TYPE(P,kPrfType))0)->Member )
#define KPRF_SIZEOF(kPrfType)   sizeof(KPRF_TYPE(,kPrfType))
#define KPRF_TYPE(Prefix, Suffix)   Prefix##KPRF32##Suffix
#define KPRF_TYPE(Prefix, Suffix)   Prefix##KPRF64##Suffix
#define KPRF_VALIDATE_MEM(MemBaseName)
#define KPRF_VALIDATE_OFF(off, name)
#define KPRF_VALIDATE_SIZE(MemBaseName, cb32, cb64)

Typedefs

typedef union KPRFHDR KPRFHDR
typedef const KPRFHDRPCKPRFHDR
typedef KPRFHDRPKPRFHDR

Functions

int KPrfDumpFile (const char *pszFilename, FILE *pOut)
int KPrfHtmlReport (const char *pszFilename, FILE *pOut)
static bool kPrfIsValidate (PCKPRFHDR pHdr, KU32 cb, FILE *pOut)
PKPRFHDR kPrfLoad (const char *pszFilename, KU32 *pcb, FILE *pOut)
int main (int argc, char **argv)
static int Usage (void)

Detailed Description

kProfiler Mark 2 - The reader and producer of statistics.

Definition in file kPrf2Read.cpp.


Generated by  Doxygen 1.6.0   Back to index