CACAO
|
Go to the source code of this file.
Data Structures | |
struct | block_count |
Macros | |
#define | HASH_SIZE (1<<20) |
#define | hash(p) ((((Cell)(p))/sizeof(Inst))&(HASH_SIZE-1)) |
Typedefs | |
typedef long | long_long |
Functions | |
block_count * | block_lookup (Inst *ip) |
block_count * | vm_block_insert (Inst *ip) |
void | add_inst (block_count *b, char *inst) |
void | vm_count_block (Inst *ip) |
void | vm_uncount_block (Inst *ip) |
void | postprocess_block (block_count *b) |
void | postprocess (void) |
void | print_block (FILE *file, block_count *b) |
void | vm_print_profile (FILE *file) |
Variables | |
block_count * | blocks [HASH_SIZE] |
void add_inst | ( | block_count * | b, |
char * | inst | ||
) |
block_count* block_lookup | ( | Inst * | ip | ) |
void postprocess_block | ( | block_count * | b | ) |
void print_block | ( | FILE * | file, |
block_count * | b | ||
) |
block_count* vm_block_insert | ( | Inst * | ip | ) |
block_count* blocks[HASH_SIZE] |