HawkTracer  0.7.0
init.h File Reference

Go to the source code of this file.


HT_DECLS_BEGIN HT_API void ht_init (int argc, char **argv)
 Initializes HawkTracer library. More...
HT_API void ht_deinit (void)
 Uninitializes HawkTracer library. More...

Function Documentation

◆ ht_deinit()

HT_API void ht_deinit ( void  )

Uninitializes HawkTracer library.

This function must be called as a last function of the library in the program. The only exception is ht_timeline_deinit() which might be called after ht_deinit(), however, it's highly not recommended and should be avoided when possible.

◆ ht_init()

HT_DECLS_BEGIN HT_API void ht_init ( int  argc,
char **  argv 

Initializes HawkTracer library.

This function must be called before any other function from this library. The only exception is ht_allocator_set(), which must be called before ht_init().

argca number of arguments of the argv array.
argvan array of strings - arguments for HawkTracer library.