stats.h 1.45 KB
#ifndef __AE_stats_h
#define __AE_stats_h

#define MAX_PROF_CT  32

#define PEAK_BASE      220
#define PEAK_TOP       (PEAK_BASE - 0x7f)
#define PEAKL_LEFT     30
#define PEAKL_RIGHT    45
#define PEAKR_LEFT     55
#define PEAKR_RIGHT    70
#define NUM_PEAKS      4

#define ABSOL(a)   (((a)>=(-a))?(a):(-a))

#define NUM_TIMES        55
#define CPU_LEFT         120
#define BAR_WIDTH        3
#define CPU_RIGHT        (CPU_LEFT + (NUM_TIMES * BAR_WIDTH))
#define CPU_BASE         220
#define CPU_TOP          (CPU_BASE - 50)
#define RSP_LEFT         CPU_LEFT
#define RSP_RIGHT        (RSP_LEFT + (NUM_TIMES * BAR_WIDTH))
#define RSP_BASE         (CPU_BASE - 60)
#define RSP_TOP          (RSP_BASE - 50)

#define VOX_LEFT         CPU_LEFT
#define VOX_RIGHT        (VOX_LEFT + (NUM_TIMES * BAR_WIDTH))
#define VOX_BASE         (CPU_BASE - 120)
#define VOX_TOP          (VOX_BASE -32)

#define CMMD_STR_LEFT    30
#define CMMD_STR_TOP	 16
#define DMAS_STR_LEFT    30
#define DMAS_STR_TOP     32
#define DMAB_STR_LEFT    30
#define DMAB_STR_TOP     48
#define UPDS_STR_LEFT    150
#define UPDS_STR_TOP     16
#define EVTS_STR_LEFT    150
#define EVTS_STR_TOP     32
#define RSP_STR_LEFT     RSP_LEFT - 32
#define RSP_STR_TOP      RSP_TOP  + 20
#define CPU_STR_LEFT     CPU_LEFT - 32
#define CPU_STR_TOP      CPU_TOP  + 20
#define VCS_STR_LEFT     VOX_LEFT - 32
#define VCS_STR_TOP      VOX_TOP  + 15
#define L_R_STR_LEFT     PEAKL_LEFT 
#define L_R_STR_TOP      PEAK_TOP - 16

#endif