#include <stdio.h>
#include "global.h"
Go to the source code of this file.
Defines | |
#define | HTDEBUG |
#define | HT_ERROR(a...) ht_error(__FILE__, __LINE__, a) |
#define | HT_WARN(a...) ht_warn(__FILE__, __LINE__, a) |
#define | HT_TRACE(a...) ht_trace(__FILE__, __LINE__, a) |
#define | assert(a) if (!(a)) ht_assert_failed(__FILE__, __LINE__, (#a)); |
Typedefs | |
typedef qword | timepoint |
typedef int | timer_handle |
Functions | |
void | ht_assert_failed (char *file, int line, char *assertion) |
void | ht_error (char *file, int line, char *format,...) |
void | ht_trace (char *file, int line, char *format,...) |
void | ht_warn (char *file, int line, char *format,...) |
timer_handle | new_timer () |
void | start_timer (timer_handle handle) |
void | stop_timer (timer_handle handle) |
void | delete_timer (timer_handle handle) |
dword | get_timer_sec (timer_handle handle) |
dword | get_timer_msec (timer_handle handle) |
dword | get_timer_tick (timer_handle h) |
|
|
Definition at line 50 of file htdebug.h. Referenced by ht_uformat_viewer::draw(), ht_sorted_list::find(), ht_object_stream_memmap::recordEnd(), statictag_to_tag(), and ht_format_viewer::vselect_get(). |
|
|
|
|
|
|
|
|
|
Definition at line 39 of file htdebug.h. Referenced by delete_timer(), ht_text_viewer::draw(), get_timer_msec(), get_timer_sec(), get_timer_tick(), new_timer(), start_timer(), and stop_timer(). |
|
Definition at line 181 of file htdebug.cc. References timer_handle. Referenced by ht_app::done(), and ht_text_viewer::draw(). |
|
Definition at line 190 of file htdebug.cc. References dword, and timer_handle. Referenced by ht_app::draw(). |
|
Definition at line 185 of file htdebug.cc. References dword, and timer_handle. |
|
Definition at line 195 of file htdebug.cc. References dword, and timer_handle. Referenced by ht_text_viewer::draw(). |
|
Definition at line 32 of file htdebug.cc. References file. |
|
Definition at line 44 of file htdebug.cc. References file. |
|
Definition at line 55 of file htdebug.cc. References file. |
|
Definition at line 66 of file htdebug.cc. References file. |
|
Definition at line 168 of file htdebug.cc. References timer_handle. Referenced by ht_text_viewer::draw(), and ht_app::init(). |
|
Definition at line 173 of file htdebug.cc. References timer_handle. Referenced by ht_text_viewer::draw(), and ht_app::handlemsg(). |
|
Definition at line 177 of file htdebug.cc. References timer_handle. Referenced by ht_text_viewer::draw(), and ht_app::handlemsg(). |