1.4.0
CCC
 
timer.cpp File Reference
#include "Basic/AStringable.hpp"
#include "Basic/String.hpp"
#include "Basic/Timer.hpp"
#include <string.h>

Functions

void time_start (void)
 
static void st_time_chunk_close (void)
 
void time_reset (void)
 
void time_chunk_add (const char *call_name)
 
void time_report (void)
 

Variables

static int NB_TIME_CHUNK = 0
 
static int TIME_FOCUS = -1
 
static hrc::time_point TIME_CURRENT = hrc::time_point()
 
static TimeChunk ** TimeStat = NULL
 

Function Documentation

◆ st_time_chunk_close()

static void st_time_chunk_close ( void  )
static

Close the current Time Chunk

◆ time_chunk_add()

void time_chunk_add ( const char *  call_name)

Initialize a Time Chunk

Parameters
[in]call_nameName of the Chunk

◆ time_report()

void time_report ( void  )

Report the Time Stats

◆ time_reset()

void time_reset ( void  )

Reset the Time

◆ time_start()

void time_start ( void  )

Initialize the Timer

Variable Documentation

◆ NB_TIME_CHUNK

int NB_TIME_CHUNK = 0
static

◆ TIME_CURRENT

hrc::time_point TIME_CURRENT = hrc::time_point()
static

◆ TIME_FOCUS

int TIME_FOCUS = -1
static

◆ TimeStat

TimeChunk** TimeStat = NULL
static