add constants
This commit is contained in:
parent
877841db24
commit
b7d7350bd3
|
@ -0,0 +1,31 @@
|
||||||
|
#ifndef RVPROF_INTERNAL_H
|
||||||
|
#define RVPROF_INTERNAL_H
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <time.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C"{
|
||||||
|
#endif
|
||||||
|
|
||||||
|
// constants
|
||||||
|
#define INITIAL_FUNCTIONS 128
|
||||||
|
#define INITIAL_STACKS 256
|
||||||
|
#define INITIAL_REGIONS 128
|
||||||
|
#define INITIAL_SYMBOLS 512
|
||||||
|
#define GROWTH_FACTOR 2
|
||||||
|
#define MAX_NAME_LEN 64
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif
|
Loading…
Reference in New Issue