blacksirius
|
bde86942c0
cleaned up windows header usage (added one central file to use windows / winapi specific stuff, to be able to set the appropriate flags before including it correctly)
|
13 лет назад |
brianluau
|
3aede46965
- Removed trailing tabs, and fixed some spacing.
|
13 лет назад |
ultramage
|
edcb998d59
Replaced custom type 'intptr' with standard 'intptr_t'.
|
14 лет назад |
ai4rei
|
1649f98824
* Moved detection of monotonic clock support to the configure script, which also checks, whether or not it actually works (bugreport:1003, related r11912 and r11983).
|
14 лет назад |
Yommy
|
f9c60fd3fa
added --enable-rdtsc configure option to enhance timer performance, especially in virtualized environments; default disabled - credits to sirius_black
|
15 лет назад |
FlavioJS
|
69720a42bf
* Replaced the fake timer heap (sorted array) with a real heap. (improves performance)
|
16 лет назад |
FlavioJS
|
72542d65cc
* Hunted down the simpler 64bit pointer truncations.
|
16 лет назад |
ultramage
|
19d4559ab6
Partially reverted the timer code changes from r12926 - r12969.
|
17 лет назад |
FlavioJS
|
cb565d9d45
ops ('|'->'&' in delete_timer debug code)
|
17 лет назад |
FlavioJS
|
99a1aaa9e1
* Simplified the search in pop_timer_heap and added more debug info to help determine the source condition of timer errors. (bugreport:1860)
|
17 лет назад |
FlavioJS
|
3f7b407d6d
* Added a check to make sure only released timers are acquired from the free list.
|
17 лет назад |
FlavioJS
|
47ee54852d
* Fixed pop_timer_heap using max heap comparisons instead of min heap comparisons and protected timer functions against improper use. (should fix bugreport:1833 bugreport:1841)
|
17 лет назад |
FlavioJS
|
cdda61ce1b
* Added const to the return value of get_timer.
|
17 лет назад |
ultramage
|
290ca7eec3
Fixed a bug in the timer code which made it impossible to delete a timer with id '0' (since pre-svn, still present in jAthena).
|
17 лет назад |
ultramage
|
fc5918e335
Removed the calc_times() no-op (bugreport:1289)
|
17 лет назад |
FlavioJS
|
c880052f0f
* Changed the data field of timers from int to intptr.
|
17 лет назад |
zephyrus
|
a6e03e1102
- Clean up of calc_times function.
|
17 лет назад |
FlavioJS
|
4dcf5bb0b9
* Tweeked the declaration and initialization defines for vectors.
|
17 лет назад |
ultramage
|
a772e3699d
Added a precise and consistent tick() function for freebsd (see bugreport:240)
|
17 лет назад |
skotlex
|
e823c2e3eb
- removed the timer heap correction code when the timers overflow since Flavio points out that it is not needed.
|
17 лет назад |
ultramage
|
59b9654397
Tried to make sense out of timer.c ... and failed
|
17 лет назад |
ultramage
|
28a6350610
Fixed unix compilation problem due to a missing include (caused by r11499)
|
17 лет назад |
ultramage
|
6b2c679c3f
* small timer.c cleaning
|
17 лет назад |
FlavioJS
|
62ea9e001e
* Fixed the double free's caused by r11290 (wrong option in the database constructors).
|
17 лет назад |
FlavioJS
|
52f3681f3d
* Disabled tick cache (to enable it: define TICK_CACHE to the number of calls that should be cached).
|
17 лет назад |
ultramage
|
56d9a037a6
* Some serious code cleanups
|
18 лет назад |
ultramage
|
711d01a128
Reformatting @_@
|
18 лет назад |
FlavioJS
|
bc088a5ad8
* Removed the dependency on winsock.h for definitions, it's all winsock2.h now.
|
18 лет назад |
skotlex
|
d65e051707
- Added a wrapper to delete_timer so it prints out from where the invocation was done.
|
18 лет назад |
ultramage
|
fbe23f27a2
Undid the memset->malloc_set replacement
|
18 лет назад |