add constants

This commit is contained in:
Patrick Lipka 2025-08-07 15:41:48 +02:00
parent 877841db24
commit b7d7350bd3
1 changed files with 31 additions and 0 deletions

31
src/rvprof_internal.h Normal file
View File

@ -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