Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

htdebug.cc File Reference

#include "global.h"
#include "htdebug.h"
#include <signal.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>

Go to the source code of this file.

Defines

#define CPU_CLOCK   500000000

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)


Define Documentation

#define CPU_CLOCK   500000000
 

Definition at line 30 of file htdebug.cc.


Function Documentation

void delete_timer timer_handle  handle  ) 
 

Definition at line 181 of file htdebug.cc.

References timer_handle.

Referenced by ht_app::done(), and ht_text_viewer::draw().

dword get_timer_msec timer_handle  handle  ) 
 

Definition at line 190 of file htdebug.cc.

References dword, and timer_handle.

Referenced by ht_app::draw().

dword get_timer_sec timer_handle  handle  ) 
 

Definition at line 185 of file htdebug.cc.

References dword, and timer_handle.

dword get_timer_tick timer_handle  h  ) 
 

Definition at line 195 of file htdebug.cc.

References dword, and timer_handle.

Referenced by ht_text_viewer::draw().

void ht_assert_failed char *  file,
int  line,
char *  assertion
 

Definition at line 32 of file htdebug.cc.

References file.

void ht_error char *  file,
int  line,
char *  format,
... 
 

Definition at line 44 of file htdebug.cc.

References file.

void ht_trace char *  file,
int  line,
char *  format,
... 
 

Definition at line 55 of file htdebug.cc.

References file.

void ht_warn char *  file,
int  line,
char *  format,
... 
 

Definition at line 66 of file htdebug.cc.

References file.

timer_handle new_timer  ) 
 

Definition at line 168 of file htdebug.cc.

References timer_handle.

Referenced by ht_text_viewer::draw(), and ht_app::init().

void start_timer timer_handle  handle  ) 
 

Definition at line 173 of file htdebug.cc.

References timer_handle.

Referenced by ht_text_viewer::draw(), and ht_app::handlemsg().

void stop_timer timer_handle  handle  ) 
 

Definition at line 177 of file htdebug.cc.

References timer_handle.

Referenced by ht_text_viewer::draw(), and ht_app::handlemsg().


Generated on Fri May 7 21:15:48 2004 by doxygen 1.3.5