mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-08-08 07:09:52 +00:00
initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4
This commit is contained in:
commit
3096eaf5e2
2519 changed files with 816064 additions and 0 deletions
53
ExternalLibs/iprof/prof_internal.h
Normal file
53
ExternalLibs/iprof/prof_internal.h
Normal file
|
@ -0,0 +1,53 @@
|
|||
#ifndef Prof_INC_PROF_INTERNAL_H
|
||||
#define Prof_INC_PROF_INTERNAL_H
|
||||
|
||||
// report functions
|
||||
|
||||
#define NUM_VALUES 4
|
||||
#define NUM_TITLE 2
|
||||
#define NUM_HEADER (NUM_VALUES+1)
|
||||
|
||||
typedef struct {
|
||||
int indent;
|
||||
char *name;
|
||||
int number;
|
||||
char prefix;
|
||||
int value_flag;
|
||||
double values[NUM_VALUES];
|
||||
double heat;
|
||||
|
||||
// used internally
|
||||
void *zone;
|
||||
} Prof_Report_Record;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
char *title[NUM_TITLE];
|
||||
char *header[NUM_HEADER];
|
||||
int num_record;
|
||||
int hilight;
|
||||
Prof_Report_Record *record;
|
||||
} Prof_Report;
|
||||
|
||||
extern void Prof_free_report(Prof_Report *z);
|
||||
extern Prof_Report *Prof_create_report(void);
|
||||
|
||||
|
||||
// really internal functions
|
||||
|
||||
extern void Prof_graph(int num_frames,
|
||||
void (*callback)(int id, int x0, int x1, float *values, void *data),
|
||||
void *data);
|
||||
|
||||
extern void Prof_init_highlevel();
|
||||
|
||||
extern double Prof_get_time(void);
|
||||
|
||||
extern int Prof_num_zones;
|
||||
extern Prof_Zone *Prof_zones[];
|
||||
|
||||
extern Prof_Declare(_global);
|
||||
|
||||
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue