added GetSysTickCount for benchmarking

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40892
This commit is contained in:
David Anderson
2007-06-06 16:40:30 +00:00
parent 13493fd7d5
commit 1b6b0f6c5e
2 changed files with 38 additions and 2 deletions
+10 -1
View File
@@ -281,9 +281,18 @@ native GameConfGetOffset(Handle:gc, const String:key[]);
* @param key Key to retrieve from the Keys section.
* @param buffer Destination string buffer.
* @param maxlen Maximum length of output string buffer.
* @return True if key existed, false otherwise.
* @return True if key existed, false otherwise.
*/
native bool:GameConfGetKeyValue(Handle:gc, const String:key[], String:buffer[], maxlen);
/**
* Returns the operating system's "tick count," which is a number of
* milliseconds since the operating system loaded. This can be used
* for basic benchmarks.
*
* @return Tick count in milliseconds.
*/
native GetSysTickCount();
#include <helpers>
#include <entity>