lib/global_timeline.cpp
/**
 * If the threading support is disabled at compilation time,
 * we assume the HawkTracer is being used in a single-threaded
 * environment, therefore no need for per-thread timeline.
 */
If the threading support is disabled at compilation time,
we assume the HawkTracer is being used in a single-threaded
environment, therefore no need for per-thread timeline.
If the threading support is disabled at compilation time we assume the HawkTracer is being used in a single - threaded environment therefore no need for per - thread timeline .
HT_Timeline* ht_global_timeline_get(void)
{
    static HT_Timeline* timeline = NULL;
    if (!timeline)
    {
        timeline = _ht_global_timeline_create();
    }
    return timeline;
}
HT_Timeline * ht_global_timeline_get ( void ) { static HT_Timeline * timeline = NULL ; if ( ! timeline ) { timeline = _ht_global_timeline_create ( ) ; } return timeline ; }
If the threading support is disabled at compilation time,
 we assume the HawkTracer is being used in a single-threaded
 environment, therefore no need for per-thread timeline.
If the threading support is disabled at compilation time we assume the HawkTracer is being used in a single - threaded environment therefore no need for per - thread timeline .
// TODO memory leak