Freeciv-3.3
|
Go to the source code of this file.
Macros | |
#define | LOGLEVEL_BODYGUARD LOG_DEBUG |
#define | LOGLEVEL_UNIT LOG_DEBUG |
#define | LOGLEVEL_GOTO LOG_DEBUG |
#define | LOGLEVEL_CITY LOG_DEBUG |
#define | LOGLEVEL_BUILD LOG_DEBUG |
#define | LOGLEVEL_HUNT LOG_DEBUG |
#define | LOGLEVEL_PLAYER LOG_DEBUG |
#define | LOG_AI_TEST LOG_NORMAL |
#define | CITY_LOG(loglevel, pcity, msg, ...) |
#define | UNIT_LOG(loglevel, punit, msg, ...) |
#define | TIMING_LOG(timer, activity) |
#define | TIMING_RESULTS() |
Enumerations | |
enum | ai_timer { AIT_ALL , AIT_MOVEMAP , AIT_UNITS , AIT_SETTLERS , AIT_WORKERS , AIT_AIDATA , AIT_GOVERNMENT , AIT_TAXES , AIT_CITIES , AIT_CITIZEN_ARRANGE , AIT_BUILDINGS , AIT_DANGER , AIT_TECH , AIT_FSTK , AIT_DEFENDERS , AIT_CARAVAN , AIT_HUNTER , AIT_AIRLIFT , AIT_DIPLOMAT , AIT_AIRUNIT , AIT_EXPLORER , AIT_EMERGENCY , AIT_CITY_MILITARY , AIT_CITY_TERRAIN , AIT_CITY_SETTLERS , AIT_ATTACK , AIT_MILITARY , AIT_RECOVER , AIT_BODYGUARD , AIT_FERRY , AIT_RAMPAGE , AIT_LAST } |
enum | ai_timer_activity { TIMER_START , TIMER_STOP } |
Functions | |
void | real_city_log (const char *file, const char *function, int line, enum log_level level, bool notify, const struct city *pcity, const char *msg,...) fc__attribute((__format__(__printf__ |
void | real_unit_log (const char *file, const char *function, int line, enum log_level level, bool notify, const struct unit *punit, const char *msg,...) fc__attribute((__format__(__printf__ |
void | timing_log_init (void) |
void | timing_log_free (void) |
void | timing_log_real (enum ai_timer timer, enum ai_timer_activity activity) |
void | timing_results_real (void) |
#define LOG_AI_TEST LOG_NORMAL |
void real_city_log | ( | const char * | file, |
const char * | function, | ||
int | line, | ||
enum log_level | level, | ||
bool | notify, | ||
const struct city * | pcity, | ||
const char * | msg, | ||
... | |||
) |
void real_unit_log | ( | const char * | file, |
const char * | function, | ||
int | line, | ||
enum log_level | level, | ||
bool | notify, | ||
const struct unit * | punit, | ||
const char * | msg, | ||
... | |||
) |
Free AI timing system resources
Definition at line 236 of file srv_log.c.
Referenced by server_quit().
void timing_log_real | ( | enum ai_timer | timer, |
enum ai_timer_activity | activity | ||
) |