kb_time.c File Reference

This module provides a basic time function. More...

Include dependency graph for kb_time.c:

Go to the source code of this file.

Functions

kb_time_t kb_getTime (void)

Variables

static u_int32_t ref_time = 0


Detailed Description

This module provides a basic time function.

Basic Time Function

Author:
Cédric Gaudin (K-Team SA)
Note:
Copyright (C) 2004 K-TEAM SA
Bug:
none discovered.
Todo:
nothing.

Definition in file kb_time.c.


Function Documentation

kb_time_t kb_getTime ( void   ) 

This function gives a timestamp with a resolution of one millisecond that warp to zero 0 in about 49 days.

Returns:
the number of milliseconds since the start of the application

Definition at line 40 of file kb_time.c.

References ref_time.

Referenced by kmot_SearchLimits().


Variable Documentation

u_int32_t ref_time = 0 [static]

Reference time in milliseconds (initialized at the application startup)

Definition at line 31 of file kb_time.c.

Referenced by kb_getTime().


Generated on Wed Dec 15 11:49:28 2010 for KoreBot Library by  doxygen 1.5.5