twn_util_c.h: internal profiling api
This commit is contained in:
@ -23,6 +23,9 @@ _Noreturn void die_abruptly(void);
|
||||
/* note: you must free the returned string */
|
||||
char *expand_asterisk(const char *mask, const char *to);
|
||||
|
||||
void profile_start(char profile[const static 1]);
|
||||
void profile_end(char profile[const static 1]);
|
||||
|
||||
/* http://www.azillionmonkeys.com/qed/sqroot.html */
|
||||
static inline float fast_sqrt(float x)
|
||||
{
|
||||
|
Reference in New Issue
Block a user