spacetrace.h File Reference


Classes

struct  __struct_STAllocEvent
struct  __struct_STAllocation
struct  __struct_STCallsiteStats
struct  __struct_STRun
struct  __struct_STCategoryNode
struct  __struct_STCategoryRule
struct  __struct_STCategoryMapEntry
struct  __struct_STOptions
struct  __struct_STContext
struct  __struct_STContextCacheItem
struct  __struct_STContextCache
struct  __struct_STRequest
struct  __struct_STGlobals

Typedefs

typedef struct
__struct_STCategoryNode 
STCategoryNode
typedef struct
__struct_STCategoryRule 
STCategoryRule
typedef struct
__struct_STAllocEvent 
STAllocEvent
typedef struct
__struct_STAllocation 
STAllocation
typedef struct
__struct_STCallsiteStats 
STCallsiteStats
typedef struct __struct_STRun STRun
typedef struct
__struct_STCategoryMapEntry 
STCategoryMapEntry
typedef enum __enum_STOptionGenre STOptionGenre
typedef struct __struct_STOptions STOptions
typedef struct __struct_STContext STContext
typedef struct
__struct_STContextCacheItem 
STContextCacheItem
typedef struct
__struct_STContextCache 
STContextCache
typedef struct __struct_STRequest STRequest
typedef struct __struct_STGlobals STGlobals

Enumerations

enum  __enum_STOptionGenre {
  CategoryGenre = 0, DataSortGenre, DataSetGenre, DataSizeGenre,
  UIGenre, ServerGenre, BatchModeGenre, MaxGenres
}

Functions

STRuncreateRun (STContext *inContext, PRUint32 aStamp)
void freeRun (STRun *aRun)
int initCategories (STGlobals *g)
int categorizeRun (STOptions *inOptions, STContext *inContext, const STRun *aRun, STGlobals *g)
STCategoryNodefindCategoryNode (const char *catName, STGlobals *g)
int freeCategories (STGlobals *g)
int displayCategoryReport (STRequest *inRequest, STCategoryNode *root, int depth)
int recalculateAllocationCost (STOptions *inOptions, STContext *inContext, STRun *aRun, STAllocation *aAllocation, PRBool updateParent)
void htmlHeader (STRequest *inRequest, const char *aTitle)
void htmlFooter (STRequest *inRequest)
void htmlAnchor (STRequest *inRequest, const char *aHref, const char *aText, const char *aTarget, const char *aClass, STOptions *inOptions)
charFormatNumber (PRInt32 num)

Variables

STGlobals globals


Typedef Documentation

typedef struct __struct_STRun STRun

typedef struct __struct_STOptions STOptions

typedef struct __struct_STContext STContext

typedef struct __struct_STRequest STRequest

typedef struct __struct_STGlobals STGlobals


Enumeration Type Documentation

Enumerator:
CategoryGenre 
DataSortGenre 
DataSetGenre 
DataSizeGenre 
UIGenre 
ServerGenre 
BatchModeGenre 
MaxGenres 


Function Documentation

STRun* createRun ( STContext inContext,
PRUint32  aStamp 
)

void freeRun ( STRun aRun  ) 

int initCategories ( STGlobals g  ) 

int categorizeRun ( STOptions inOptions,
STContext inContext,
const STRun aRun,
STGlobals g 
)

STCategoryNode* findCategoryNode ( const char catName,
STGlobals g 
)

int freeCategories ( STGlobals g  ) 

int displayCategoryReport ( STRequest inRequest,
STCategoryNode root,
int  depth 
)

int recalculateAllocationCost ( STOptions inOptions,
STContext inContext,
STRun aRun,
STAllocation aAllocation,
PRBool  updateParent 
)

void htmlHeader ( STRequest inRequest,
const char aTitle 
)

void htmlFooter ( STRequest inRequest  ) 

void htmlAnchor ( STRequest inRequest,
const char aHref,
const char aText,
const char aTarget,
const char aClass,
STOptions inOptions 
)

char* FormatNumber ( PRInt32  num  ) 


Variable Documentation


Generated Mozilla by doxygen 1.5.6