From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/class_NLMISC__CTime.html | 209 ++++++++++++++++++++++++++++++ 1 file changed, 209 insertions(+) create mode 100644 docs/doxygen/nel/class_NLMISC__CTime.html (limited to 'docs/doxygen/nel/class_NLMISC__CTime.html') diff --git a/docs/doxygen/nel/class_NLMISC__CTime.html b/docs/doxygen/nel/class_NLMISC__CTime.html new file mode 100644 index 00000000..71b9ec56 --- /dev/null +++ b/docs/doxygen/nel/class_NLMISC__CTime.html @@ -0,0 +1,209 @@ + + + + nevrax.org : docs + + + + + + + + + + + + + + +
# Home   # nevrax.com   
+ + + + +
Nevrax
+ + + + + + + + + + +
+ + +
+ Nevrax.org
+ + + + + + + +
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
+
+ + +
+ + +
+Docs + +
+  + + + + + +
Documentation 
+ +
+Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  
+

NLMISC::CTime Class Reference

This class provide a independant local time system. +More... +

+#include <time_nl.h> +

+Inheritance diagram for NLMISC::CTime

Inheritance graph
+ + + +
[legend]
List of all members. + + + + + + + +

Static Public Methods

TTime getLocalTime ()
 get the time in millisecond. More...

TTicks getPerformanceTime ()
 get the time in processor ticks. More...

double ticksToSecond (TTicks ticks)
 convert a ticks count into second. More...

+

Detailed Description

+This class provide a independant local time system. +

+

+Author(s):
+ Vianney Lecroart , Nevrax France
+Date:
+ 2000
+

+ +

+Definition at line 50 of file time_nl.h.


Member Function Documentation

+

+ + + + +
+ + + + + + +
+TTime NLMISC::CTime::getLocalTime ( + +) [static] +
+
+ + + + + +
+   + + +

+get the time in millisecond. +

+It's a local time, it means that the value is different on 2 differents computers. Use the CUniTime to get a universal time that is the same on all computers.

+Warning:
+ On Windows, the value is on 32 bits only.
+

+Definition at line 44 of file time_nl.cpp. +

+Referenced by CAnimationDlg::OnInitDialog(), CAnimationDlg::handle(), and NLAIAGENT::CAgentManagerTimer::CRunTimer::run().

+

+ + + + +
+ + + + + + +
+TTicks NLMISC::CTime::getPerformanceTime ( + +) [static] +
+
+ + + + + +
+   + + +

+get the time in processor ticks. +

+Use it for profile purpose. Only implemented under windows for the time. If the performance time is not supported on this hardware, it returns 0. +

+Definition at line 61 of file time_nl.cpp.

+

+ + + + +
+ + + + + + +
+double NLMISC::CTime::ticksToSecond ( + +TTicks ticks ) [static] +
+
+ + + + + +
+   + + +

+convert a ticks count into second. +

+If the performance time is not supported on this hardware, it returns 0.0. +

+Definition at line 74 of file time_nl.cpp.

+


The documentation for this class was generated from the following files: + + + +
                                                                                                                                                                    +
+ + -- cgit v1.2.1