#include "ktypes.h"
Typedefs | |
| typedef _KTime | KTime |
| Time. | |
Functions | |
| KTL_API KTime * | KTime_new () |
| Allocates and initializes a KTime structure. | |
| KTL_API void | KTime_delete (KTime **ktime) |
| Deletes a KTime structure. | |
| KTL_API KTime * | KTime_getKTime () |
| Gets the time in a KTime structure. | |
| KTL_API KBool | KTime_getTime (KTime *ktime) |
| Gets the time in an allocated KTime structure. | |
| KTL_API KInt64 | KTime_getSec (KTime *ktime) |
| Gets the time in seconds. | |
| KTL_API KInt64 | KTime_getMSec (KTime *ktime) |
| Gets the time in milliseconds. | |
| KTL_API KInt64 | KTime_getUSec (KTime *ktime) |
| Gest the time in microseconds. | |
| KTL_API KBool | KTime_go (KTime *ktime) |
| Triggers a timer. | |
| KTL_API KTime * | KTime_kgo () |
| Returns a timer initialized with the current date. | |
| KTL_API KBool | KTime_stop (KTime *pTime) |
| Stops a timer and updates a KTime structure with the time elapsed since the call to the KTime_go() functions. | |
| KTL_API KString | KTime_toStr (KTime *pTime) |
| Gets a string that corresponds to time of a KTime structure (Format 4h 21min 41sec 456msec 321microsec). The string must be deleted after be used. | |
|
|
Deletes a KTime structure.
|
|
|
Gets the time in a KTime structure.
|
|
|
Gets the time in milliseconds.
|
|
|
Gets the time in seconds.
|
|
|
Gets the time in an allocated KTime structure.
|
|
|
Gest the time in microseconds.
|
|
|
Triggers a timer.
|
|
|
Returns a timer initialized with the current date.
|
|
|
Allocates and initializes a KTime structure.
|
|
|
Stops a timer and updates a KTime structure with the time elapsed since the call to the KTime_go() functions.
|
|
|
Gets a string that corresponds to time of a KTime structure (Format 4h 21min 41sec 456msec 321microsec). The string must be deleted after be used.
|
1.3.8